#664FBB#664FBB
#664FBB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.8% C 0.163 H 289.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #664FBB |
|---|---|
| RGB | rgb(102, 79, 187) |
| HSL | hsl(253, 44%, 52%) |
| HSV | hsv(253, 58%, 73%) |
| CMYK | cmyk(45.5%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.22, 36.40, -53.99) |
| CIE-LCH | lch(41.22, 65.11, 303.99°) |
| OKLab | oklab(50.85% 0.0533 -0.154) |
| OKLCH | oklch(50.85% 0.163 289.1) |
| XYZ | xyz(17.2426, 12.0040, 48.4126) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.31
Bluey Purple
#6241C7
ΔE00 4.14
Slate Blue
#6A5ACD
ΔE00 4.25
Light Indigo
#6D5ACF
ΔE00 4.49
Ocean Blue
#4F42B5
ΔE00 5.10
Royal Purple
#7851A9
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664FBB #A4BB4F
analogous
#4F6EBB #664FBB #9C4FBB
triadic
#664FBB #BB664F #4FBB66
tetradic
#664FBB #BB4F6E #A4BB4F #4FBB9C
square
#664FBB #BB4F6E #A4BB4F #4FBB9C
split-complementary
#664FBB #BB9C4F #6EBB4F
monochromatic
#362868 #4C3994 #664FBB #8C7BCC #B3A7DD
Accessibility & contrast
On white
6.17
#664FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#664FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664FBB
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664FBB | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0263BF
Deuteranopia (green-blind)
#095FB9
Tritanopia (blue-blind)
#4C677D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #664fbb; /* rgb */ color: rgb(102, 79, 187); /* oklch */ color: oklch(50.8% 0.163 289.1);
Tailwind
colors: {
custom: {
50: '#9781d0',
500: '#664fbb',
950: '#000000',
},
}SCSS
$custom: #664fbb; $custom-light: #9781d0; $custom-dark: #000000;
JSON
{
"hex": "#664fbb",
"rgb": {
"r": 102,
"g": 79,
"b": 187
},
"hsl": {
"h": 252.778,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.50846,
"c": 0.16295,
"h": 289.1
},
"luminance": 0.12005
}Semantic roles & 50–950 ramp
primary
#664FBB
secondary
#C0CA9B
accent
#D454B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82