#7C66EF#7C66EF
#7C66EF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 60.3% C 0.198 H 286.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7C66EF |
|---|---|
| RGB | rgb(124, 102, 239) |
| HSL | hsl(250, 81%, 67%) |
| HSV | hsv(250, 57%, 94%) |
| CMYK | cmyk(48.1%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(51.86, 42.71, -66.43) |
| CIE-LCH | lch(51.86, 78.98, 302.74°) |
| OKLab | oklab(60.27% 0.0552 -0.1899) |
| OKLCH | oklch(60.27% 0.198 286.2) |
| XYZ | xyz(28.6390, 20.0185, 83.9996) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 0.62
Purpley
#8756E4
ΔE00 5.22
Dark Periwinkle
#665FD1
ΔE00 6.16
Mediumpurple
#9370DB
ΔE00 6.22
Light Indigo
#6D5ACF
ΔE00 6.50
Slate Blue
#6A5ACD
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C66EF #D9EF66
analogous
#6695EF #7C66EF #C166EF
triadic
#7C66EF #EF7C66 #66EF7C
tetradic
#7C66EF #EF6695 #D9EF66 #66EFC1
square
#7C66EF #EF6695 #D9EF66 #66EFC1
split-complementary
#7C66EF #EFC166 #95EF66
monochromatic
#3115C6 #4D2FE9 #7C66EF #AB9DF5 #DBD5FB
Accessibility & contrast
On white
4.20
#7C66EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#7C66EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C66EF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C66EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C66EF | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#5485A1
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7c66ef; /* rgb */ color: rgb(124, 102, 239); /* oklch */ color: oklch(60.3% 0.198 286.2);
Tailwind
colors: {
custom: {
50: '#aa92f5',
500: '#7c66ef',
950: '#000000',
},
}SCSS
$custom: #7c66ef; $custom-light: #aa92f5; $custom-dark: #000000;
JSON
{
"hex": "#7c66ef",
"rgb": {
"r": 124,
"g": 102,
"b": 239
},
"hsl": {
"h": 249.635,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.60269,
"c": 0.19773,
"h": 286.2
},
"luminance": 0.2002
}Semantic roles & 50–950 ramp
primary
#7C66EF
secondary
#E7EEC2
accent
#DD08BB
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85