#663BB0#663BB0
#663BB0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.177 H 295.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #663BB0 |
|---|---|
| RGB | rgb(102, 59, 176) |
| HSL | hsl(262, 50%, 46%) |
| HSV | hsv(262, 66%, 69%) |
| CMYK | cmyk(42%, 66.5%, 0%, 31%) |
| CIE-LAB | lab(36.15, 44.68, -55.71) |
| CIE-LCH | lch(36.15, 71.41, 308.73°) |
| OKLab | oklab(46.9% 0.0765 -0.1591) |
| OKLCH | oklch(46.9% 0.177 295.7) |
| XYZ | xyz(14.8779, 9.0870, 42.0360) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.92
Rebeccapurple
#663399
ΔE00 4.23
Blue With A Hint Of Purple
#533CC6
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.78
Blurple
#5539CC
ΔE00 4.97
Purple Blue
#5D21D0
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BB0 #85B03B
analogous
#3B4BB0 #663BB0 #A03BB0
triadic
#663BB0 #B0663B #3BB066
tetradic
#663BB0 #B03B4B #85B03B #3BB0A0
square
#663BB0 #B03B4B #85B03B #3BB0A0
split-complementary
#663BB0 #B0A03B #4BB03B
monochromatic
#311C54 #4B2C82 #663BB0 #865FC9 #A98DD9
Accessibility & contrast
On white
7.45
#663BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#663BB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663BB0
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BB0 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#535770
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #663bb0; /* rgb */ color: rgb(102, 59, 176); /* oklch */ color: oklch(46.9% 0.177 295.7);
Tailwind
colors: {
custom: {
50: '#9774c8',
500: '#663bb0',
950: '#000000',
},
}SCSS
$custom: #663bb0; $custom-light: #9774c8; $custom-dark: #000000;
JSON
{
"hex": "#663bb0",
"rgb": {
"r": 102,
"g": 59,
"b": 176
},
"hsl": {
"h": 262.051,
"s": 49.787,
"l": 46.078
},
"oklch": {
"l": 0.46902,
"c": 0.17653,
"h": 295.7
},
"luminance": 0.09087
}Semantic roles & 50–950 ramp
primary
#663BB0
secondary
#ACC383
accent
#D94EA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82