#663BB2#663BB2
#663BB2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.179 H 295.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #663BB2 |
|---|---|
| RGB | rgb(102, 59, 178) |
| HSL | hsl(262, 50%, 46%) |
| HSV | hsv(262, 67%, 70%) |
| CMYK | cmyk(42.7%, 66.9%, 0%, 30.2%) |
| CIE-LAB | lab(36.30, 45.22, -56.65) |
| CIE-LCH | lch(36.30, 72.49, 308.60°) |
| OKLab | oklab(47.06% 0.0763 -0.1618) |
| OKLCH | oklch(47.06% 0.179 295.2) |
| XYZ | xyz(15.0772, 9.1667, 43.0858) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.63
Blue With A Hint Of Purple
#533CC6
ΔE00 4.42
Rebeccapurple
#663399
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 4.67
Blurple
#5539CC
ΔE00 4.69
Purple Blue
#5D21D0
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BB2 #87B23B
analogous
#3B4BB2 #663BB2 #A23BB2
triadic
#663BB2 #B2663B #3BB266
tetradic
#663BB2 #B23B4B #87B23B #3BB2A2
square
#663BB2 #B23B4B #87B23B #3BB2A2
split-complementary
#663BB2 #B2A23B #4BB23B
monochromatic
#311D56 #4C2C84 #663BB2 #8660CA #A98EDA
Accessibility & contrast
On white
7.41
#663BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#663BB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663BB2
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BB2 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#525771
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #663bb2; /* rgb */ color: rgb(102, 59, 178); /* oklch */ color: oklch(47.1% 0.179 295.2);
Tailwind
colors: {
custom: {
50: '#9874ca',
500: '#663bb2',
950: '#000000',
},
}SCSS
$custom: #663bb2; $custom-light: #9874ca; $custom-dark: #000000;
JSON
{
"hex": "#663bb2",
"rgb": {
"r": 102,
"g": 59,
"b": 178
},
"hsl": {
"h": 261.681,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.47059,
"c": 0.17892,
"h": 295.2
},
"luminance": 0.09167
}Semantic roles & 50–950 ramp
primary
#663BB2
secondary
#ADC485
accent
#DA4EA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82