#664CE3#664CE3
#664CE3 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.217 H 284.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #664CE3 |
|---|---|
| RGB | rgb(102, 76, 227) |
| HSL | hsl(250, 73%, 59%) |
| HSV | hsv(250, 67%, 89%) |
| CMYK | cmyk(55.1%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(43.56, 49.91, -73.24) |
| CIE-LCH | lch(43.56, 88.62, 304.27°) |
| OKLab | oklab(53.49% 0.0532 -0.2106) |
| OKLCH | oklch(53.49% 0.217 284.2) |
| XYZ | xyz(21.9248, 13.5384, 74.1160) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.87
Bluish Purple
#703BE7
ΔE00 3.84
Light Indigo
#6D5ACF
ΔE00 4.58
Slate Blue
#6A5ACD
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 4.99
Purpley Blue
#5F34E7
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CE3 #C9E34C
analogous
#4C7EE3 #664CE3 #B24CE3
triadic
#664CE3 #E3664C #4CE366
tetradic
#664CE3 #E34C7E #C9E34C #4CE3B2
square
#664CE3 #E34C7E #C9E34C #4CE3B2
split-complementary
#664CE3 #E3B24C #7EE34C
monochromatic
#2F189C #3F21D1 #664CE3 #9381EB #C0B6F4
Accessibility & contrast
On white
5.66
#664CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#664CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CE3
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CE3 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#2B7391
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #664ce3; /* rgb */ color: rgb(102, 76, 227); /* oklch */ color: oklch(53.5% 0.217 284.2);
Tailwind
colors: {
custom: {
50: '#9d80ed',
500: '#664ce3',
950: '#000000',
},
}SCSS
$custom: #664ce3; $custom-light: #9d80ed; $custom-dark: #000000;
JSON
{
"hex": "#664ce3",
"rgb": {
"r": 102,
"g": 76,
"b": 227
},
"hsl": {
"h": 250.331,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.53488,
"c": 0.21719,
"h": 284.2
},
"luminance": 0.1354
}Semantic roles & 50–950 ramp
primary
#664CE3
secondary
#D9E3A8
accent
#F038D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84