#663BBD#663BBD
#663BBD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.192 H 292.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #663BBD |
|---|---|
| RGB | rgb(102, 59, 189) |
| HSL | hsl(260, 52%, 49%) |
| HSV | hsv(260, 69%, 74%) |
| CMYK | cmyk(46%, 68.8%, 0%, 25.9%) |
| CIE-LAB | lab(37.16, 48.22, -61.75) |
| CIE-LCH | lch(37.16, 78.34, 307.99°) |
| OKLab | oklab(47.95% 0.0747 -0.1768) |
| OKLCH | oklch(47.95% 0.192 292.9) |
| XYZ | xyz(16.2262, 9.6263, 49.1374) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.25
Blue With A Hint Of Purple
#533CC6
ΔE00 3.33
Blurple
#5539CC
ΔE00 3.39
Ocean Blue
#4F42B5
ΔE00 4.49
Burple
#6832E3
ΔE00 5.00
Purple Blue
#5D21D0
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BBD #92BD3B
analogous
#3B51BD #663BBD #A73BBD
triadic
#663BBD #BD663B #3BBD66
tetradic
#663BBD #BD3B51 #92BD3B #3BBDA7
square
#663BBD #BD3B51 #92BD3B #3BBDA7
split-complementary
#663BBD #BDA73B #51BD3B
monochromatic
#341E60 #4D2C8E #663BBD #8966CF #AD95DE
Accessibility & contrast
On white
7.18
#663BBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#663BBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663BBD
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BBD | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#4C5B77
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663bbd; /* rgb */ color: rgb(102, 59, 189); /* oklch */ color: oklch(47.9% 0.192 292.9);
Tailwind
colors: {
custom: {
50: '#9974d2',
500: '#663bbd',
950: '#000000',
},
}SCSS
$custom: #663bbd; $custom-light: #9974d2; $custom-dark: #000000;
JSON
{
"hex": "#663bbd",
"rgb": {
"r": 102,
"g": 59,
"b": 189
},
"hsl": {
"h": 259.846,
"s": 52.419,
"l": 48.627
},
"oklch": {
"l": 0.47945,
"c": 0.19193,
"h": 292.9
},
"luminance": 0.09627
}Semantic roles & 50–950 ramp
primary
#663BBD
secondary
#B4C98B
accent
#DC4CAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83