#663CD9#663CD9
#663CD9 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.223 H 287.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #663CD9 |
|---|---|
| RGB | rgb(102, 60, 217) |
| HSL | hsl(256, 67%, 54%) |
| HSV | hsv(256, 72%, 85%) |
| CMYK | cmyk(53%, 72.4%, 0%, 14.9%) |
| CIE-LAB | lab(39.69, 55.44, -73.87) |
| CIE-LCH | lch(39.69, 92.36, 306.89°) |
| OKLab | oklab(50.47% 0.0683 -0.2124) |
| OKLCH | oklch(50.47% 0.223 287.8) |
| XYZ | xyz(19.6160, 11.0653, 66.7344) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 1.97
Purpley Blue
#5F34E7
ΔE00 2.20
Bluish Purple
#703BE7
ΔE00 2.35
Bluey Purple
#6241C7
ΔE00 2.57
Purpleish Blue
#6140EF
ΔE00 3.08
Blurple
#5539CC
ΔE00 3.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663CD9 #AFD93C
analogous
#3C61D9 #663CD9 #B53CD9
triadic
#663CD9 #D9663C #3CD966
tetradic
#663CD9 #D93C61 #AFD93C #3CD9B5
square
#663CD9 #D93C61 #AFD93C #3CD9B5
split-complementary
#663CD9 #D9B53C #61D93C
monochromatic
#351981 #4A23B5 #663CD9 #8E6FE3 #B6A2ED
Accessibility & contrast
On white
6.54
#663CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#663CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663CD9
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663CD9 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#386687
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #663cd9; /* rgb */ color: rgb(102, 60, 217); /* oklch */ color: oklch(50.5% 0.223 287.8);
Tailwind
colors: {
custom: {
50: '#9d76e6',
500: '#663cd9',
950: '#000000',
},
}SCSS
$custom: #663cd9; $custom-light: #9d76e6; $custom-dark: #000000;
JSON
{
"hex": "#663cd9",
"rgb": {
"r": 102,
"g": 60,
"b": 217
},
"hsl": {
"h": 256.051,
"s": 67.382,
"l": 54.314
},
"oklch": {
"l": 0.50465,
"c": 0.2231,
"h": 287.8
},
"luminance": 0.11066
}Semantic roles & 50–950 ramp
primary
#663CD9
secondary
#C8DA97
accent
#EA3EBC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84