#664BDC#664BDC
#664BDC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.210 H 285.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #664BDC |
|---|---|
| RGB | rgb(102, 75, 220) |
| HSL | hsl(251, 67%, 58%) |
| HSV | hsv(251, 66%, 86%) |
| CMYK | cmyk(53.6%, 65.9%, 0%, 13.7%) |
| CIE-LAB | lab(42.80, 48.40, -70.50) |
| CIE-LCH | lch(42.80, 85.52, 304.47°) |
| OKLab | oklab(52.76% 0.055 -0.2025) |
| OKLCH | oklch(52.76% 0.21 285.2) |
| XYZ | xyz(20.9099, 13.0231, 69.1082) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.11
Bluish Purple
#703BE7
ΔE00 3.73
Bluey Purple
#6241C7
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.48
Slate Blue
#6A5ACD
ΔE00 4.53
Iris
#6258C4
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664BDC #C1DC4B
analogous
#4B79DC #664BDC #AE4BDC
triadic
#664BDC #DC664B #4BDC66
tetradic
#664BDC #DC4B79 #C1DC4B #4BDCAE
square
#664BDC #DC4B79 #C1DC4B #4BDCAE
split-complementary
#664BDC #DCAE4B #79DC4B
monochromatic
#321C91 #4326C4 #664BDC #927EE6 #BDB1F0
Accessibility & contrast
On white
5.83
#664BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#664BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664BDC
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664BDC | 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)
#0069E0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#33708D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #664bdc; /* rgb */ color: rgb(102, 75, 220); /* oklch */ color: oklch(52.8% 0.210 285.2);
Tailwind
colors: {
custom: {
50: '#9c7fe8',
500: '#664bdc',
950: '#000000',
},
}SCSS
$custom: #664bdc; $custom-light: #9c7fe8; $custom-dark: #000000;
JSON
{
"hex": "#664bdc",
"rgb": {
"r": 102,
"g": 75,
"b": 220
},
"hsl": {
"h": 251.172,
"s": 67.442,
"l": 57.843
},
"oklch": {
"l": 0.52762,
"c": 0.20988,
"h": 285.2
},
"luminance": 0.13024
}Semantic roles & 50–950 ramp
primary
#664BDC
secondary
#D4DEA4
accent
#EA3DCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84