#664CE5#664CE5
#664CE5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.220 H 283.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #664CE5 |
|---|---|
| RGB | rgb(102, 76, 229) |
| HSL | hsl(250, 75%, 60%) |
| HSV | hsv(250, 67%, 90%) |
| CMYK | cmyk(55.5%, 66.8%, 0%, 10.2%) |
| CIE-LAB | lab(43.73, 50.49, -74.11) |
| CIE-LCH | lch(43.73, 89.67, 304.27°) |
| OKLab | oklab(53.65% 0.0529 -0.2131) |
| OKLCH | oklch(53.65% 0.22 283.9) |
| XYZ | xyz(22.2025, 13.6495, 75.5782) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.80
Bluish Purple
#703BE7
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 4.82
Bluey Purple
#6241C7
ΔE00 5.21
Purpley Blue
#5F34E7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CE5 #CBE54C
analogous
#4C7FE5 #664CE5 #B24CE5
triadic
#664CE5 #E5664C #4CE566
tetradic
#664CE5 #E54C7F #CBE54C #4CE5B2
square
#664CE5 #E54C7F #CBE54C #4CE5B2
split-complementary
#664CE5 #E5B24C #7FE54C
monochromatic
#2E179F #3E1FD5 #664CE5 #9481ED #C1B7F5
Accessibility & contrast
On white
5.63
#664CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#664CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CE5
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CE5 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#287392
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #664ce5; /* rgb */ color: rgb(102, 76, 229); /* oklch */ color: oklch(53.7% 0.220 283.9);
Tailwind
colors: {
custom: {
50: '#9d80ee',
500: '#664ce5',
950: '#000000',
},
}SCSS
$custom: #664ce5; $custom-light: #9d80ee; $custom-dark: #000000;
JSON
{
"hex": "#664ce5",
"rgb": {
"r": 102,
"g": 76,
"b": 229
},
"hsl": {
"h": 250.196,
"s": 74.634,
"l": 59.804
},
"oklch": {
"l": 0.53655,
"c": 0.2196,
"h": 283.9
},
"luminance": 0.13651
}Semantic roles & 50–950 ramp
primary
#664CE5
secondary
#DAE4A9
accent
#F137D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85