#7E66F4#7E66F4
#7E66F4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 60.8% C 0.204 H 286.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E66F4 |
|---|---|
| RGB | rgb(126, 102, 244) |
| HSL | hsl(250, 87%, 68%) |
| HSV | hsv(250, 58%, 96%) |
| CMYK | cmyk(48.4%, 58.2%, 0%, 4.3%) |
| CIE-LAB | lab(52.36, 44.55, -68.40) |
| CIE-LCH | lch(52.36, 81.63, 303.08°) |
| OKLab | oklab(60.79% 0.0576 -0.1956) |
| OKLCH | oklch(60.79% 0.204 286.4) |
| XYZ | xyz(29.6799, 20.4686, 87.9574) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.08
Purpley
#8756E4
ΔE00 5.40
Mediumpurple
#9370DB
ΔE00 6.30
Dark Periwinkle
#665FD1
ΔE00 6.87
Light Indigo
#6D5ACF
ΔE00 7.16
Cornflower
#6A79F7
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E66F4 #DCF466
analogous
#6695F4 #7E66F4 #C566F4
triadic
#7E66F4 #F47E66 #66F47E
tetradic
#7E66F4 #F46695 #DCF466 #66F4C5
square
#7E66F4 #F46695 #DCF466 #66F4C5
split-complementary
#7E66F4 #F4C566 #95F466
monochromatic
#300FD1 #4E2DF0 #7E66F4 #AE9FF8 #DED8FC
Accessibility & contrast
On white
4.12
#7E66F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#7E66F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E66F4
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E66F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E66F4 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#5587A3
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7e66f4; /* rgb */ color: rgb(126, 102, 244); /* oklch */ color: oklch(60.8% 0.204 286.4);
Tailwind
colors: {
custom: {
50: '#ab92f9',
500: '#7e66f4',
950: '#000000',
},
}SCSS
$custom: #7e66f4; $custom-light: #ab92f9; $custom-dark: #000000;
JSON
{
"hex": "#7e66f4",
"rgb": {
"r": 126,
"g": 102,
"b": 244
},
"hsl": {
"h": 250.141,
"s": 86.585,
"l": 67.843
},
"oklch": {
"l": 0.60788,
"c": 0.20389,
"h": 286.4
},
"luminance": 0.2047
}Semantic roles & 50–950 ramp
primary
#7E66F4
secondary
#E9F1C5
accent
#E302BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85