#663AB9#663AB9
#663AB9 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.188 H 293.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #663AB9 |
|---|---|
| RGB | rgb(102, 58, 185) |
| HSL | hsl(261, 52%, 48%) |
| HSV | hsv(261, 69%, 73%) |
| CMYK | cmyk(44.9%, 68.6%, 0%, 27.5%) |
| CIE-LAB | lab(36.66, 47.65, -60.22) |
| CIE-LCH | lch(36.66, 76.79, 308.35°) |
| OKLab | oklab(47.48% 0.0763 -0.1723) |
| OKLCH | oklch(47.48% 0.188 293.9) |
| XYZ | xyz(15.7471, 9.3532, 46.8652) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.85
Blue With A Hint Of Purple
#533CC6
ΔE00 3.70
Blurple
#5539CC
ΔE00 3.81
Ocean Blue
#4F42B5
ΔE00 4.59
Purple Blue
#5D21D0
ΔE00 5.24
Rebeccapurple
#663399
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663AB9 #8DB93A
analogous
#3A4EB9 #663AB9 #A53AB9
triadic
#663AB9 #B9663A #3AB966
tetradic
#663AB9 #B93A4E #8DB93A #3AB9A5
square
#663AB9 #B93A4E #8DB93A #3AB9A5
split-complementary
#663AB9 #B9A53A #4EB93A
monochromatic
#331D5C #4C2B8A #663AB9 #8862CE #AB91DC
Accessibility & contrast
On white
7.32
#663AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#663AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663AB9
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663AB9 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#4E5975
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #663ab9; /* rgb */ color: rgb(102, 58, 185); /* oklch */ color: oklch(47.5% 0.188 293.9);
Tailwind
colors: {
custom: {
50: '#9973cf',
500: '#663ab9',
950: '#000000',
},
}SCSS
$custom: #663ab9; $custom-light: #9973cf; $custom-dark: #000000;
JSON
{
"hex": "#663ab9",
"rgb": {
"r": 102,
"g": 58,
"b": 185
},
"hsl": {
"h": 260.787,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.47482,
"c": 0.18846,
"h": 293.9
},
"luminance": 0.09354
}Semantic roles & 50–950 ramp
primary
#663AB9
secondary
#B1C787
accent
#DC4CAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82