#663ED9#663ED9
#663ED9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.221 H 287.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #663ED9 |
|---|---|
| RGB | rgb(102, 62, 217) |
| HSL | hsl(255, 67%, 55%) |
| HSV | hsv(255, 71%, 85%) |
| CMYK | cmyk(53%, 71.4%, 0%, 14.9%) |
| CIE-LAB | lab(40.05, 54.44, -73.29) |
| CIE-LCH | lch(40.05, 91.29, 306.60°) |
| OKLab | oklab(50.72% 0.0667 -0.2107) |
| OKLCH | oklch(50.72% 0.221 287.6) |
| XYZ | xyz(19.7228, 11.2788, 66.7700) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.31
Burple
#6832E3
ΔE00 2.31
Purpley Blue
#5F34E7
ΔE00 2.45
Bluey Purple
#6241C7
ΔE00 2.49
Purpleish Blue
#6140EF
ΔE00 2.91
Blurple
#5539CC
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ED9 #B1D93E
analogous
#3E63D9 #663ED9 #B43ED9
triadic
#663ED9 #D9663E #3ED966
tetradic
#663ED9 #D93E63 #B1D93E #3ED9B4
square
#663ED9 #D93E63 #B1D93E #3ED9B4
split-complementary
#663ED9 #D9B43E #63D93E
monochromatic
#351A83 #4A24B6 #663ED9 #8F71E3 #B7A4ED
Accessibility & contrast
On white
6.45
#663ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#663ED9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ED9
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ED9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ED9 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#386788
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #663ed9; /* rgb */ color: rgb(102, 62, 217); /* oklch */ color: oklch(50.7% 0.221 287.6);
Tailwind
colors: {
custom: {
50: '#9c77e6',
500: '#663ed9',
950: '#000000',
},
}SCSS
$custom: #663ed9; $custom-light: #9c77e6; $custom-dark: #000000;
JSON
{
"hex": "#663ed9",
"rgb": {
"r": 102,
"g": 62,
"b": 217
},
"hsl": {
"h": 255.484,
"s": 67.1,
"l": 54.706
},
"oklch": {
"l": 0.50717,
"c": 0.22099,
"h": 287.6
},
"luminance": 0.1128
}Semantic roles & 50–950 ramp
primary
#663ED9
secondary
#C9DA99
accent
#EA3EBE
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84