#664FCA#664FCA
#664FCA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.182 H 286.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #664FCA |
|---|---|
| RGB | rgb(102, 79, 202) |
| HSL | hsl(251, 54%, 55%) |
| HSV | hsv(251, 61%, 79%) |
| CMYK | cmyk(49.5%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.28, 40.81, -61.01) |
| CIE-LCH | lch(42.28, 73.40, 303.78°) |
| OKLab | oklab(51.96% 0.0528 -0.1746) |
| OKLCH | oklch(51.96% 0.182 286.8) |
| XYZ | xyz(18.9330, 12.6801, 57.3156) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.01
Slate Blue
#6A5ACD
ΔE00 3.28
Light Indigo
#6D5ACF
ΔE00 3.42
Bluey Purple
#6241C7
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 4.98
Warm Blue
#4B57DB
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664FCA #B3CA4F
analogous
#4F75CA #664FCA #A44FCA
triadic
#664FCA #CA664F #4FCA66
tetradic
#664FCA #CA4F75 #B3CA4F #4FCAA4
square
#664FCA #CA4F75 #B3CA4F #4FCAA4
split-complementary
#664FCA #CAA44F #75CA4F
monochromatic
#35257A #4933A9 #664FCA #8F7ED8 #B8ADE6
Accessibility & contrast
On white
5.94
#664FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#664FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664FCA
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664FCA | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#426C85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #664fca; /* rgb */ color: rgb(102, 79, 202); /* oklch */ color: oklch(52.0% 0.182 286.8);
Tailwind
colors: {
custom: {
50: '#9981db',
500: '#664fca',
950: '#000000',
},
}SCSS
$custom: #664fca; $custom-light: #9981db; $custom-dark: #000000;
JSON
{
"hex": "#664fca",
"rgb": {
"r": 102,
"g": 79,
"b": 202
},
"hsl": {
"h": 251.22,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.51955,
"c": 0.18244,
"h": 286.8
},
"luminance": 0.12681
}Semantic roles & 50–950 ramp
primary
#664FCA
secondary
#CBD4A1
accent
#DD4BC2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83