#7E66E5#7E66E5
#7E66E5 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.7% C 0.185 H 288.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7E66E5 |
|---|---|
| RGB | rgb(126, 102, 229) |
| HSL | hsl(251, 71%, 65%) |
| HSV | hsv(251, 55%, 90%) |
| CMYK | cmyk(45%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(51.38, 40.27, -61.59) |
| CIE-LCH | lch(51.38, 73.59, 303.17°) |
| OKLab | oklab(59.75% 0.0577 -0.1756) |
| OKLCH | oklch(59.75% 0.185 288.2) |
| XYZ | xyz(27.4944, 19.5944, 76.4470) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.58
Purpley
#8756E4
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 5.40
Dark Periwinkle
#665FD1
ΔE00 5.56
Light Indigo
#6D5ACF
ΔE00 5.70
Slate Blue
#6A5ACD
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E66E5 #CDE566
analogous
#668DE5 #7E66E5 #BE66E5
triadic
#7E66E5 #E57E66 #66E57E
tetradic
#7E66E5 #E5668D #CDE566 #66E5BE
square
#7E66E5 #E5668D #CDE566 #66E5BE
split-complementary
#7E66E5 #E5BE66 #8DE566
monochromatic
#3A1EB2 #5232DC #7E66E5 #AA9AEE #D6CFF7
Accessibility & contrast
On white
4.27
#7E66E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7E66E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E66E5
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E66E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E66E5 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B7DE9
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#5E829C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e66e5; /* rgb */ color: rgb(126, 102, 229); /* oklch */ color: oklch(59.7% 0.185 288.2);
Tailwind
colors: {
custom: {
50: '#aa92ee',
500: '#7e66e5',
950: '#000000',
},
}SCSS
$custom: #7e66e5; $custom-light: #aa92ee; $custom-dark: #000000;
JSON
{
"hex": "#7e66e5",
"rgb": {
"r": 126,
"g": 102,
"b": 229
},
"hsl": {
"h": 251.339,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.59746,
"c": 0.18481,
"h": 288.2
},
"luminance": 0.19596
}Semantic roles & 50–950 ramp
primary
#7E66E5
secondary
#E1E9BE
accent
#D313AF
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84