#7D66EA#7D66EA
#7D66EA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.191 H 287.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7D66EA |
|---|---|
| RGB | rgb(125, 102, 234) |
| HSL | hsl(250, 76%, 66%) |
| HSV | hsv(250, 56%, 92%) |
| CMYK | cmyk(46.6%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(51.61, 41.48, -64.02) |
| CIE-LCH | lch(51.61, 76.29, 302.94°) |
| OKLab | oklab(60% 0.0565 -0.1828) |
| OKLCH | oklch(60% 0.191 287.2) |
| XYZ | xyz(28.0558, 19.8020, 80.1698) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 0.95
Purpley
#8756E4
ΔE00 4.92
Mediumpurple
#9370DB
ΔE00 5.79
Dark Periwinkle
#665FD1
ΔE00 5.82
Light Indigo
#6D5ACF
ΔE00 6.07
Slate Blue
#6A5ACD
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D66EA #D3EA66
analogous
#6691EA #7D66EA #BF66EA
triadic
#7D66EA #EA7D66 #66EA7D
tetradic
#7D66EA #EA6691 #D3EA66 #66EABF
square
#7D66EA #EA6691 #D3EA66 #66EABF
split-complementary
#7D66EA #EABF66 #91EA66
monochromatic
#361ABC #4F30E3 #7D66EA #AB9CF1 #D8D2F9
Accessibility & contrast
On white
4.23
#7D66EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#7D66EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D66EA
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D66EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D66EA | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#087EEE
Deuteranopia (green-blind)
#0777E7
Tritanopia (blue-blind)
#59849E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7d66ea; /* rgb */ color: rgb(125, 102, 234); /* oklch */ color: oklch(60.0% 0.191 287.2);
Tailwind
colors: {
custom: {
50: '#aa92f1',
500: '#7d66ea',
950: '#000000',
},
}SCSS
$custom: #7d66ea; $custom-light: #aa92f1; $custom-dark: #000000;
JSON
{
"hex": "#7d66ea",
"rgb": {
"r": 125,
"g": 102,
"b": 234
},
"hsl": {
"h": 250.455,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.60004,
"c": 0.19128,
"h": 287.2
},
"luminance": 0.19803
}Semantic roles & 50–950 ramp
primary
#7D66EA
secondary
#E4ECC0
accent
#D80DB5
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D17
muted
#807E85