#7E66EB#7E66EB
#7E66EB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.192 H 287.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E66EB |
|---|---|
| RGB | rgb(126, 102, 235) |
| HSL | hsl(251, 77%, 66%) |
| HSV | hsv(251, 57%, 92%) |
| CMYK | cmyk(46.4%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(51.76, 41.97, -64.34) |
| CIE-LCH | lch(51.76, 76.82, 303.12°) |
| OKLab | oklab(60.16% 0.0577 -0.1836) |
| OKLCH | oklch(60.16% 0.192 287.4) |
| XYZ | xyz(28.3466, 19.9353, 80.9355) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 0.96
Purpley
#8756E4
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 6.03
Light Indigo
#6D5ACF
ΔE00 6.24
Slate Blue
#6A5ACD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E66EB #D3EB66
analogous
#6690EB #7E66EB #C066EB
triadic
#7E66EB #EB7E66 #66EB7E
tetradic
#7E66EB #EB6690 #D3EB66 #66EBC0
square
#7E66EB #EB6690 #D3EB66 #66EBC0
split-complementary
#7E66EB #EBC066 #90EB66
monochromatic
#3719BE #5030E4 #7E66EB #AC9CF2 #D9D2F9
Accessibility & contrast
On white
4.21
#7E66EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7E66EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E66EB
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E66EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E66EB | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#057FEF
Deuteranopia (green-blind)
#0578E8
Tritanopia (blue-blind)
#5A849F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e66eb; /* rgb */ color: rgb(126, 102, 235); /* oklch */ color: oklch(60.2% 0.192 287.4);
Tailwind
colors: {
custom: {
50: '#aa92f2',
500: '#7e66eb',
950: '#000000',
},
}SCSS
$custom: #7e66eb; $custom-light: #aa92f2; $custom-dark: #000000;
JSON
{
"hex": "#7e66eb",
"rgb": {
"r": 126,
"g": 102,
"b": 235
},
"hsl": {
"h": 250.827,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.60157,
"c": 0.19249,
"h": 287.4
},
"luminance": 0.19937
}Semantic roles & 50–950 ramp
primary
#7E66EB
secondary
#E4ECC1
accent
#D90CB4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85