#7E66CD#7E66CD
#7E66CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.2% C 0.153 H 291.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E66CD |
|---|---|
| RGB | rgb(126, 102, 205) |
| HSL | hsl(254, 51%, 60%) |
| HSV | hsv(254, 50%, 80%) |
| CMYK | cmyk(38.5%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(49.91, 33.55, -50.33) |
| CIE-LCH | lch(49.91, 60.49, 303.69°) |
| OKLab | oklab(58.19% 0.0565 -0.1425) |
| OKLCH | oklch(58.19% 0.153 291.6) |
| XYZ | xyz(24.3720, 18.3455, 60.0027) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.87
Mediumslateblue
#7B68EE
ΔE00 5.11
Dark Periwinkle
#665FD1
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.22
Mediumpurple
#9370DB
ΔE00 5.29
Purpley
#8756E4
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E66CD #B5CD66
analogous
#6681CD #7E66CD #B266CD
triadic
#7E66CD #CD7E66 #66CD7E
tetradic
#7E66CD #CD6681 #B5CD66 #66CDB2
square
#7E66CD #CD6681 #B5CD66 #66CDB2
split-complementary
#7E66CD #CDB266 #81CD66
monochromatic
#432D8B #5A3DB9 #7E66CD #A594DC #CCC2EB
Accessibility & contrast
On white
4.50
#7E66CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7E66CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E66CD
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E66CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E66CD | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#697B90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e66cd; /* rgb */ color: rgb(126, 102, 205); /* oklch */ color: oklch(58.2% 0.153 291.6);
Tailwind
colors: {
custom: {
50: '#a792dd',
500: '#7e66cd',
950: '#000000',
},
}SCSS
$custom: #7e66cd; $custom-light: #a792dd; $custom-dark: #000000;
JSON
{
"hex": "#7e66cd",
"rgb": {
"r": 126,
"g": 102,
"b": 205
},
"hsl": {
"h": 253.981,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.58189,
"c": 0.1533,
"h": 291.6
},
"luminance": 0.18346
}Semantic roles & 50–950 ramp
primary
#7E66CD
secondary
#D2DBB4
accent
#BE279B
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83