#663ED8#663ED8
#663ED8 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.220 H 287.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #663ED8 |
|---|---|
| RGB | rgb(102, 62, 216) |
| HSL | hsl(256, 66%, 55%) |
| HSV | hsv(256, 71%, 85%) |
| CMYK | cmyk(52.8%, 71.3%, 0%, 15.3%) |
| CIE-LAB | lab(39.96, 54.16, -72.85) |
| CIE-LCH | lch(39.96, 90.78, 306.63°) |
| OKLab | oklab(50.63% 0.0669 -0.2094) |
| OKLCH | oklch(50.63% 0.22 287.7) |
| XYZ | xyz(19.5931, 11.2269, 66.0870) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 2.36
Bluey Purple
#6241C7
ΔE00 2.37
Bluish Purple
#703BE7
ΔE00 2.41
Purpley Blue
#5F34E7
ΔE00 2.52
Purpleish Blue
#6140EF
ΔE00 3.03
Blurple
#5539CC
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ED8 #B0D83E
analogous
#3E63D8 #663ED8 #B33ED8
triadic
#663ED8 #D8663E #3ED866
tetradic
#663ED8 #D83E63 #B0D83E #3ED8B3
square
#663ED8 #D83E63 #B0D83E #3ED8B3
split-complementary
#663ED8 #D8B33E #63D83E
monochromatic
#351A81 #4A24B4 #663ED8 #8E71E2 #B7A4ED
Accessibility & contrast
On white
6.47
#663ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#663ED8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ED8
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ED8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ED8 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062DD
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#396787
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #663ed8; /* rgb */ color: rgb(102, 62, 216); /* oklch */ color: oklch(50.6% 0.220 287.7);
Tailwind
colors: {
custom: {
50: '#9c77e5',
500: '#663ed8',
950: '#000000',
},
}SCSS
$custom: #663ed8; $custom-light: #9c77e5; $custom-dark: #000000;
JSON
{
"hex": "#663ed8",
"rgb": {
"r": 102,
"g": 62,
"b": 216
},
"hsl": {
"h": 255.584,
"s": 66.379,
"l": 54.51
},
"oklch": {
"l": 0.50629,
"c": 0.21984,
"h": 287.7
},
"luminance": 0.11228
}Semantic roles & 50–950 ramp
primary
#663ED8
secondary
#C9D998
accent
#E93EBD
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84