#664CDC#664CDC
#664CDC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 52.9% C 0.209 H 285.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #664CDC |
|---|---|
| RGB | rgb(102, 76, 220) |
| HSL | hsl(251, 67%, 58%) |
| HSV | hsv(251, 65%, 86%) |
| CMYK | cmyk(53.6%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(43.00, 47.84, -70.17) |
| CIE-LCH | lch(43.00, 84.93, 304.29°) |
| OKLab | oklab(52.91% 0.0541 -0.2016) |
| OKLCH | oklch(52.91% 0.209 285) |
| XYZ | xyz(20.9783, 13.1598, 69.1310) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.28
Bluish Purple
#703BE7
ΔE00 3.95
Bluey Purple
#6241C7
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.31
Iris
#6258C4
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CDC #C2DC4C
analogous
#4C7ADC #664CDC #AE4CDC
triadic
#664CDC #DC664C #4CDC66
tetradic
#664CDC #DC4C7A #C2DC4C #4CDCAE
square
#664CDC #DC4C7A #C2DC4C #4CDCAE
split-complementary
#664CDC #DCAE4C #7ADC4C
monochromatic
#311C91 #4326C4 #664CDC #927FE6 #BEB2F0
Accessibility & contrast
On white
5.78
#664CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#664CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CDC
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CDC | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#33708D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #664cdc; /* rgb */ color: rgb(102, 76, 220); /* oklch */ color: oklch(52.9% 0.209 285.0);
Tailwind
colors: {
custom: {
50: '#9c80e8',
500: '#664cdc',
950: '#000000',
},
}SCSS
$custom: #664cdc; $custom-light: #9c80e8; $custom-dark: #000000;
JSON
{
"hex": "#664cdc",
"rgb": {
"r": 102,
"g": 76,
"b": 220
},
"hsl": {
"h": 250.833,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.5291,
"c": 0.2087,
"h": 285
},
"luminance": 0.13161
}Semantic roles & 50–950 ramp
primary
#664CDC
secondary
#D4DFA5
accent
#EA3ECB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84