#7C66DA#7C66DA
#7C66DA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.8% C 0.171 H 288.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7C66DA |
|---|---|
| RGB | rgb(124, 102, 218) |
| HSL | hsl(251, 61%, 63%) |
| HSV | hsv(251, 53%, 85%) |
| CMYK | cmyk(43.1%, 53.2%, 0%, 14.5%) |
| CIE-LAB | lab(50.51, 36.70, -56.78) |
| CIE-LCH | lch(50.51, 67.61, 302.88°) |
| OKLab | oklab(58.84% 0.0549 -0.1615) |
| OKLCH | oklch(58.84% 0.171 288.8) |
| XYZ | xyz(25.7149, 18.8489, 68.5994) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 4.76
Purpley
#8756E4
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.16
Mediumpurple
#9370DB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C66DA #C4DA66
analogous
#668ADA #7C66DA #B666DA
triadic
#7C66DA #DA7C66 #66DA7C
tetradic
#7C66DA #DA668A #C4DA66 #66DAB6
square
#7C66DA #DA668A #C4DA66 #66DAB6
split-complementary
#7C66DA #DAB666 #8ADA66
monochromatic
#3D269F #5235CE #7C66DA #A697E6 #D0C9F2
Accessibility & contrast
On white
4.40
#7C66DA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7C66DA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C66DA
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C66DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C66DA | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E7BDE
Deuteranopia (green-blind)
#2F75D7
Tritanopia (blue-blind)
#607F96
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c66da; /* rgb */ color: rgb(124, 102, 218); /* oklch */ color: oklch(58.8% 0.171 288.8);
Tailwind
colors: {
custom: {
50: '#a792e6',
500: '#7c66da',
950: '#000000',
},
}SCSS
$custom: #7c66da; $custom-light: #a792e6; $custom-dark: #000000;
JSON
{
"hex": "#7c66da",
"rgb": {
"r": 124,
"g": 102,
"b": 218
},
"hsl": {
"h": 251.379,
"s": 61.053,
"l": 62.745
},
"oklch": {
"l": 0.58841,
"c": 0.17056,
"h": 288.8
},
"luminance": 0.1885
}Semantic roles & 50–950 ramp
primary
#7C66DA
secondary
#DBE3B9
accent
#C91DA8
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84