#7F66CA#7F66CA
#7F66CA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.1% C 0.149 H 292.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F66CA |
|---|---|
| RGB | rgb(127, 102, 202) |
| HSL | hsl(255, 49%, 60%) |
| HSV | hsv(255, 50%, 79%) |
| CMYK | cmyk(37.1%, 49.5%, 0%, 20.8%) |
| CIE-LAB | lab(49.83, 32.98, -48.73) |
| CIE-LCH | lch(49.83, 58.84, 304.09°) |
| OKLab | oklab(58.1% 0.0575 -0.1378) |
| OKLCH | oklch(58.1% 0.149 292.7) |
| XYZ | xyz(24.1616, 18.2785, 58.1208) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 5.13
Mediumpurple
#9370DB
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 5.52
Mediumslateblue
#7B68EE
ΔE00 5.67
Deep Lavender
#8D5EB7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F66CA #B1CA66
analogous
#667FCA #7F66CA #B166CA
triadic
#7F66CA #CA7F66 #66CA7F
tetradic
#7F66CA #CA667F #B1CA66 #66CAB1
square
#7F66CA #CA667F #B1CA66 #66CAB1
split-complementary
#7F66CA #CAB166 #7FCA66
monochromatic
#452F87 #5C3EB4 #7F66CA #A593DA #CBC1E9
Accessibility & contrast
On white
4.51
#7F66CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7F66CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F66CA
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F66CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F66CA | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#6C7A8E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f66ca; /* rgb */ color: rgb(127, 102, 202); /* oklch */ color: oklch(58.1% 0.149 292.7);
Tailwind
colors: {
custom: {
50: '#a892db',
500: '#7f66ca',
950: '#000000',
},
}SCSS
$custom: #7f66ca; $custom-light: #a892db; $custom-dark: #000000;
JSON
{
"hex": "#7f66ca",
"rgb": {
"r": 127,
"g": 102,
"b": 202
},
"hsl": {
"h": 255,
"s": 48.544,
"l": 59.608
},
"oklch": {
"l": 0.58095,
"c": 0.14931,
"h": 292.7
},
"luminance": 0.18279
}Semantic roles & 50–950 ramp
primary
#7F66CA
secondary
#D0D9B2
accent
#D850B6
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83