#663BD3#663BD3
#663BD3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.217 H 288.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #663BD3 |
|---|---|
| RGB | rgb(102, 59, 211) |
| HSL | hsl(257, 63%, 53%) |
| HSV | hsv(257, 72%, 83%) |
| CMYK | cmyk(51.7%, 72%, 0%, 17.3%) |
| CIE-LAB | lab(38.99, 54.27, -71.56) |
| CIE-LCH | lch(38.99, 89.81, 307.18°) |
| OKLab | oklab(49.81% 0.0704 -0.2056) |
| OKLCH | oklch(49.81% 0.217 288.9) |
| XYZ | xyz(18.7979, 10.6550, 62.6815) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.04
Burple
#6832E3
ΔE00 2.31
Purpley Blue
#5F34E7
ΔE00 2.68
Blurple
#5539CC
ΔE00 2.73
Bluish Purple
#703BE7
ΔE00 3.05
Blue With A Hint Of Purple
#533CC6
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BD3 #A8D33B
analogous
#3B5CD3 #663BD3 #B23BD3
triadic
#663BD3 #D3663B #3BD366
tetradic
#663BD3 #D33B5C #A8D33B #3BD3B2
square
#663BD3 #D33B5C #A8D33B #3BD3B2
split-complementary
#663BD3 #D3B23B #5CD33B
monochromatic
#361B79 #4C26AB #663BD3 #8D6DDE #B49FE9
Accessibility & contrast
On white
6.71
#663BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#663BD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663BD3
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BD3 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0058D0
Tritanopia (blue-blind)
#3D6483
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #663bd3; /* rgb */ color: rgb(102, 59, 211); /* oklch */ color: oklch(49.8% 0.217 288.9);
Tailwind
colors: {
custom: {
50: '#9c75e2',
500: '#663bd3',
950: '#000000',
},
}SCSS
$custom: #663bd3; $custom-light: #9c75e2; $custom-dark: #000000;
JSON
{
"hex": "#663bd3",
"rgb": {
"r": 102,
"g": 59,
"b": 211
},
"hsl": {
"h": 256.974,
"s": 63.333,
"l": 52.941
},
"oklch": {
"l": 0.49812,
"c": 0.21733,
"h": 288.9
},
"luminance": 0.10656
}Semantic roles & 50–950 ramp
primary
#663BD3
secondary
#C3D694
accent
#E641B8
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84