#663FD6#663FD6
#663FD6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.216 H 287.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #663FD6 |
|---|---|
| RGB | rgb(102, 63, 214) |
| HSL | hsl(255, 65%, 54%) |
| HSV | hsv(255, 71%, 84%) |
| CMYK | cmyk(52.3%, 70.6%, 0%, 16.1%) |
| CIE-LAB | lab(39.97, 53.09, -71.68) |
| CIE-LCH | lch(39.97, 89.20, 306.52°) |
| OKLab | oklab(50.59% 0.0665 -0.206) |
| OKLCH | oklch(50.59% 0.216 287.9) |
| XYZ | xyz(19.3910, 11.2339, 64.7519) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.10
Bluish Purple
#703BE7
ΔE00 2.63
Burple
#6832E3
ΔE00 2.64
Purpley Blue
#5F34E7
ΔE00 2.81
Purpleish Blue
#6140EF
ΔE00 3.22
Blurple
#5539CC
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FD6 #AFD63F
analogous
#3F64D6 #663FD6 #B23FD6
triadic
#663FD6 #D6663F #3FD666
tetradic
#663FD6 #D63F64 #AFD63F #3FD6B2
square
#663FD6 #D63F64 #AFD63F #3FD6B2
split-complementary
#663FD6 #D6B23F #64D63F
monochromatic
#351B7F #4A26B2 #663FD6 #8E71E1 #B6A4EC
Accessibility & contrast
On white
6.47
#663FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#663FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FD6
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FD6 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#005AD3
Tritanopia (blue-blind)
#3A6786
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #663fd6; /* rgb */ color: rgb(102, 63, 214); /* oklch */ color: oklch(50.6% 0.216 287.9);
Tailwind
colors: {
custom: {
50: '#9c77e4',
500: '#663fd6',
950: '#000000',
},
}SCSS
$custom: #663fd6; $custom-light: #9c77e4; $custom-dark: #000000;
JSON
{
"hex": "#663fd6",
"rgb": {
"r": 102,
"g": 63,
"b": 214
},
"hsl": {
"h": 255.497,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.50585,
"c": 0.21646,
"h": 287.9
},
"luminance": 0.11235
}Semantic roles & 50–950 ramp
primary
#663FD6
secondary
#C8D898
accent
#E840BC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84