#664CDD#664CDD
#664CDD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.0% C 0.210 H 284.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #664CDD |
|---|---|
| RGB | rgb(102, 76, 221) |
| HSL | hsl(251, 68%, 58%) |
| HSV | hsv(251, 66%, 87%) |
| CMYK | cmyk(53.8%, 65.6%, 0%, 13.3%) |
| CIE-LAB | lab(43.08, 48.14, -70.61) |
| CIE-LCH | lch(43.08, 85.46, 304.28°) |
| OKLab | oklab(52.99% 0.054 -0.2029) |
| OKLCH | oklch(52.99% 0.21 284.9) |
| XYZ | xyz(21.1111, 13.2129, 69.8305) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.21
Bluish Purple
#703BE7
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 4.30
Bluey Purple
#6241C7
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.36
Iris
#6258C4
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CDD #C3DD4C
analogous
#4C7ADD #664CDD #AF4CDD
triadic
#664CDD #DD664C #4CDD66
tetradic
#664CDD #DD4C7A #C3DD4C #4CDDAF
square
#664CDD #DD4C7A #C3DD4C #4CDDAF
split-complementary
#664CDD #DDAF4C #7ADD4C
monochromatic
#311C93 #4226C6 #664CDD #927FE7 #BEB3F1
Accessibility & contrast
On white
5.76
#664CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#664CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CDD
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CDD | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#32718E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #664cdd; /* rgb */ color: rgb(102, 76, 221); /* oklch */ color: oklch(53.0% 0.210 284.9);
Tailwind
colors: {
custom: {
50: '#9c80e9',
500: '#664cdd',
950: '#000000',
},
}SCSS
$custom: #664cdd; $custom-light: #9c80e9; $custom-dark: #000000;
JSON
{
"hex": "#664cdd",
"rgb": {
"r": 102,
"g": 76,
"b": 221
},
"hsl": {
"h": 250.759,
"s": 68.075,
"l": 58.235
},
"oklch": {
"l": 0.52992,
"c": 0.20993,
"h": 284.9
},
"luminance": 0.13214
}Semantic roles & 50–950 ramp
primary
#664CDD
secondary
#D5DFA6
accent
#EB3DCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84