#664CD9#664CD9
#664CD9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.7% C 0.205 H 285.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #664CD9 |
|---|---|
| RGB | rgb(102, 76, 217) |
| HSL | hsl(251, 65%, 57%) |
| HSV | hsv(251, 65%, 85%) |
| CMYK | cmyk(53%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(42.77, 46.96, -68.84) |
| CIE-LCH | lch(42.77, 83.33, 304.30°) |
| OKLab | oklab(52.66% 0.0545 -0.1977) |
| OKLCH | oklch(52.66% 0.205 285.4) |
| XYZ | xyz(20.5846, 13.0023, 67.0572) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.53
Bluey Purple
#6241C7
ΔE00 3.95
Bluish Purple
#703BE7
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.19
Iris
#6258C4
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CD9 #BFD94C
analogous
#4C78D9 #664CD9 #AD4CD9
triadic
#664CD9 #D9664C #4CD966
tetradic
#664CD9 #D94C78 #BFD94C #4CD9AD
square
#664CD9 #D94C78 #BFD94C #4CD9AD
split-complementary
#664CD9 #D9AD4C #78D94C
monochromatic
#321E8D #4429BF #664CD9 #917EE4 #BCB1EE
Accessibility & contrast
On white
5.83
#664CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#664CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CD9
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CD9 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#366F8C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #664cd9; /* rgb */ color: rgb(102, 76, 217); /* oklch */ color: oklch(52.7% 0.205 285.4);
Tailwind
colors: {
custom: {
50: '#9c80e6',
500: '#664cd9',
950: '#000000',
},
}SCSS
$custom: #664cd9; $custom-light: #9c80e6; $custom-dark: #000000;
JSON
{
"hex": "#664cd9",
"rgb": {
"r": 102,
"g": 76,
"b": 217
},
"hsl": {
"h": 251.064,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.52665,
"c": 0.20503,
"h": 285.4
},
"luminance": 0.13003
}Semantic roles & 50–950 ramp
primary
#664CD9
secondary
#D2DDA4
accent
#E840C9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84