#663ED3#663ED3
#663ED3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.214 H 288.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #663ED3 |
|---|---|
| RGB | rgb(102, 62, 211) |
| HSL | hsl(256, 63%, 54%) |
| HSV | hsv(256, 71%, 83%) |
| CMYK | cmyk(51.7%, 70.6%, 0%, 17.3%) |
| CIE-LAB | lab(39.53, 52.76, -70.67) |
| CIE-LCH | lch(39.53, 88.20, 306.74°) |
| OKLab | oklab(50.2% 0.0679 -0.203) |
| OKLCH | oklch(50.2% 0.214 288.5) |
| XYZ | xyz(18.9565, 10.9723, 62.7344) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.78
Burple
#6832E3
ΔE00 2.69
Purpley Blue
#5F34E7
ΔE00 2.94
Bluish Purple
#703BE7
ΔE00 2.95
Blurple
#5539CC
ΔE00 2.96
Blue With A Hint Of Purple
#533CC6
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ED3 #ABD33E
analogous
#3E60D3 #663ED3 #B03ED3
triadic
#663ED3 #D3663E #3ED366
tetradic
#663ED3 #D33E60 #ABD33E #3ED3B0
square
#663ED3 #D33E60 #ABD33E #3ED3B0
split-complementary
#663ED3 #D3B03E #60D33E
monochromatic
#351C7B #4B27AC #663ED3 #8E70DE #B5A2EA
Accessibility & contrast
On white
6.57
#663ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#663ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ED3
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ED3 | 1.00 | 6.57 | 3.19 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#3D6584
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #663ed3; /* rgb */ color: rgb(102, 62, 211); /* oklch */ color: oklch(50.2% 0.214 288.5);
Tailwind
colors: {
custom: {
50: '#9c77e2',
500: '#663ed3',
950: '#000000',
},
}SCSS
$custom: #663ed3; $custom-light: #9c77e2; $custom-dark: #000000;
JSON
{
"hex": "#663ed3",
"rgb": {
"r": 102,
"g": 62,
"b": 211
},
"hsl": {
"h": 256.107,
"s": 62.869,
"l": 53.529
},
"oklch": {
"l": 0.50196,
"c": 0.21408,
"h": 288.5
},
"luminance": 0.10973
}Semantic roles & 50–950 ramp
primary
#663ED3
secondary
#C5D696
accent
#E642BA
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84