#663ED5#663ED5
#663ED5 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.216 H 288.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #663ED5 |
|---|---|
| RGB | rgb(102, 62, 213) |
| HSL | hsl(256, 64%, 54%) |
| HSV | hsv(256, 71%, 84%) |
| CMYK | cmyk(52.1%, 70.9%, 0%, 16.5%) |
| CIE-LAB | lab(39.70, 53.32, -71.55) |
| CIE-LCH | lch(39.70, 89.23, 306.69°) |
| OKLab | oklab(50.37% 0.0675 -0.2056) |
| OKLCH | oklch(50.37% 0.216 288.2) |
| XYZ | xyz(19.2088, 11.0732, 64.0631) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.01
Burple
#6832E3
ΔE00 2.54
Bluish Purple
#703BE7
ΔE00 2.73
Purpley Blue
#5F34E7
ΔE00 2.76
Blurple
#5539CC
ΔE00 3.07
Purpleish Blue
#6140EF
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ED5 #ADD53E
analogous
#3E62D5 #663ED5 #B23ED5
triadic
#663ED5 #D5663E #3ED566
tetradic
#663ED5 #D53E62 #ADD53E #3ED5B2
square
#663ED5 #D53E62 #ADD53E #3ED5B2
split-complementary
#663ED5 #D5B23E #62D53E
monochromatic
#351B7D #4B26B0 #663ED5 #8E70E0 #B6A3EB
Accessibility & contrast
On white
6.53
#663ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#663ED5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ED5
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ED5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ED5 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#3B6685
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #663ed5; /* rgb */ color: rgb(102, 62, 213); /* oklch */ color: oklch(50.4% 0.216 288.2);
Tailwind
colors: {
custom: {
50: '#9c77e3',
500: '#663ed5',
950: '#000000',
},
}SCSS
$custom: #663ed5; $custom-light: #9c77e3; $custom-dark: #000000;
JSON
{
"hex": "#663ed5",
"rgb": {
"r": 102,
"g": 62,
"b": 213
},
"hsl": {
"h": 255.894,
"s": 64.255,
"l": 53.922
},
"oklch": {
"l": 0.50368,
"c": 0.21639,
"h": 288.2
},
"luminance": 0.11074
}Semantic roles & 50–950 ramp
primary
#663ED5
secondary
#C7D897
accent
#E741BB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84