#663ED2#663ED2
#663ED2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.213 H 288.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #663ED2 |
|---|---|
| RGB | rgb(102, 62, 210) |
| HSL | hsl(256, 62%, 53%) |
| HSV | hsv(256, 70%, 82%) |
| CMYK | cmyk(51.4%, 70.5%, 0%, 17.6%) |
| CIE-LAB | lab(39.45, 52.48, -70.24) |
| CIE-LCH | lch(39.45, 87.68, 306.77°) |
| OKLab | oklab(50.11% 0.0681 -0.2017) |
| OKLCH | oklch(50.11% 0.213 288.7) |
| XYZ | xyz(18.8316, 10.9223, 62.0762) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.67
Burple
#6832E3
ΔE00 2.77
Blurple
#5539CC
ΔE00 2.91
Purpley Blue
#5F34E7
ΔE00 3.04
Bluish Purple
#703BE7
ΔE00 3.07
Blue With A Hint Of Purple
#533CC6
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ED2 #AAD23E
analogous
#3E60D2 #663ED2 #B03ED2
triadic
#663ED2 #D2663E #3ED266
tetradic
#663ED2 #D23E60 #AAD23E #3ED2B0
square
#663ED2 #D23E60 #AAD23E #3ED2B0
split-complementary
#663ED2 #D2B03E #60D23E
monochromatic
#351C79 #4B28AB #663ED2 #8D70DE #B5A1E9
Accessibility & contrast
On white
6.59
#663ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#663ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ED2
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ED2 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#3E6584
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #663ed2; /* rgb */ color: rgb(102, 62, 210); /* oklch */ color: oklch(50.1% 0.213 288.7);
Tailwind
colors: {
custom: {
50: '#9c77e1',
500: '#663ed2',
950: '#000000',
},
}SCSS
$custom: #663ed2; $custom-light: #9c77e1; $custom-dark: #000000;
JSON
{
"hex": "#663ed2",
"rgb": {
"r": 102,
"g": 62,
"b": 210
},
"hsl": {
"h": 256.216,
"s": 62.185,
"l": 53.333
},
"oklch": {
"l": 0.50109,
"c": 0.21292,
"h": 288.7
},
"luminance": 0.10923
}Semantic roles & 50–950 ramp
primary
#663ED2
secondary
#C5D696
accent
#E543B9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83