#7B68EE color codes
- HEX
- #7B68EE
- HEX8
- #7B68EEFF
- HEX8 (Android)
- #FF7B68EE
- RGB
- rgb(123, 104, 238)
- RGB (%)
- 48%, 41%, 93%
- HSL
- hsl(249, 80%, 67%)
- HSV / HSB
- hsv(249, 56%, 93%)
- CMYK
- cmyk(48%, 56%, 0%, 7%)
- OKLCH
- oklch(0.6045 0.1939 285.5)
- OKLCH (%)
- oklch(60.45% 0.1939 285.5)
- Decimal
- 8087790
What color is #7B68EE?
#7B68EE sits at 60% lightness and 0.1939 chroma in OKLCH, hue 285.5°. Its nearest named color is MediumSlateBlue (an exact match).
Shades and tints of #7B68EE
Tints
Shades
Tones
#7B68EE color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #7B68EE in CSS
.text { color: #7B68EE; }
.background { background-color: #7B68EE; }
.border { border: 2px solid #7B68EE; }
/* Modern, perceptually uniform */
.text { color: oklch(0.6045 0.1939 285.5); }
/* #7B68EE at 50% transparency */
.overlay { background-color: #7B68EE80; }Is #7B68EE accessible?
#7B68EE on white text scores 4.15:1; on black text it scores 5.06:1. Black text passes WCAG AA for normal text on #7B68EE. Recommended text color on a #7B68EE background: black.
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Fail
- AAA large ≥ 4.5 Pass
Recommended text color: black
contrast-color() contrast-color(#7B68EE) → black WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.
Frequently asked questions
- What color is #7B68EE?
- #7B68EE is MediumSlateBlue. In RGB it is rgb(123, 104, 238), and in HSL hsl(249, 80%, 67%).
- What is #7B68EE in RGB?
- #7B68EE converts to rgb(123, 104, 238) — red 123, green 104, blue 238.
- What text color is readable on #7B68EE?
- Black text — it has the higher contrast ratio (5.06:1) against #7B68EE. Black text passes WCAG AA for normal text on #7B68EE.