#663ED7#663ED7
#663ED7 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.219 H 287.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #663ED7 |
|---|---|
| RGB | rgb(102, 62, 215) |
| HSL | hsl(256, 66%, 54%) |
| HSV | hsv(256, 71%, 84%) |
| CMYK | cmyk(52.6%, 71.2%, 0%, 15.7%) |
| CIE-LAB | lab(39.87, 53.88, -72.42) |
| CIE-LCH | lch(39.87, 90.26, 306.65°) |
| OKLab | oklab(50.54% 0.0671 -0.2081) |
| OKLCH | oklch(50.54% 0.219 287.9) |
| XYZ | xyz(19.4642, 11.1754, 65.4083) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.25
Burple
#6832E3
ΔE00 2.41
Bluish Purple
#703BE7
ΔE00 2.52
Purpley Blue
#5F34E7
ΔE00 2.60
Purpleish Blue
#6140EF
ΔE00 3.16
Blurple
#5539CC
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ED7 #AFD73E
analogous
#3E63D7 #663ED7 #B23ED7
triadic
#663ED7 #D7663E #3ED766
tetradic
#663ED7 #D73E63 #AFD73E #3ED7B2
square
#663ED7 #D73E63 #AFD73E #3ED7B2
split-complementary
#663ED7 #D7B23E #63D73E
monochromatic
#351B80 #4A25B3 #663ED7 #8E71E2 #B6A3EC
Accessibility & contrast
On white
6.49
#663ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#663ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ED7
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ED7 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061DC
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#3A6787
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #663ed7; /* rgb */ color: rgb(102, 62, 215); /* oklch */ color: oklch(50.5% 0.219 287.9);
Tailwind
colors: {
custom: {
50: '#9c77e4',
500: '#663ed7',
950: '#000000',
},
}SCSS
$custom: #663ed7; $custom-light: #9c77e4; $custom-dark: #000000;
JSON
{
"hex": "#663ed7",
"rgb": {
"r": 102,
"g": 62,
"b": 215
},
"hsl": {
"h": 255.686,
"s": 65.665,
"l": 54.314
},
"oklch": {
"l": 0.50542,
"c": 0.21869,
"h": 287.9
},
"luminance": 0.11176
}Semantic roles & 50–950 ramp
primary
#663ED7
secondary
#C8D998
accent
#E93FBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84