#663ABA#663ABA
#663ABA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.190 H 293.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #663ABA |
|---|---|
| RGB | rgb(102, 58, 186) |
| HSL | hsl(261, 52%, 48%) |
| HSV | hsv(261, 69%, 73%) |
| CMYK | cmyk(45.2%, 68.8%, 0%, 27.1%) |
| CIE-LAB | lab(36.74, 47.92, -60.68) |
| CIE-LCH | lch(36.74, 77.32, 308.30°) |
| OKLab | oklab(47.56% 0.0761 -0.1737) |
| OKLCH | oklch(47.56% 0.19 293.7) |
| XYZ | xyz(15.8531, 9.3956, 47.4231) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.73
Blue With A Hint Of Purple
#533CC6
ΔE00 3.61
Blurple
#5539CC
ΔE00 3.69
Ocean Blue
#4F42B5
ΔE00 4.59
Purple Blue
#5D21D0
ΔE00 5.16
Burple
#6832E3
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ABA #8EBA3A
analogous
#3A4EBA #663ABA #A63ABA
triadic
#663ABA #BA663A #3ABA66
tetradic
#663ABA #BA3A4E #8EBA3A #3ABAA6
square
#663ABA #BA3A4E #8EBA3A #3ABAA6
split-complementary
#663ABA #BAA63A #4EBA3A
monochromatic
#331D5D #4C2B8B #663ABA #8863CE #AB92DD
Accessibility & contrast
On white
7.29
#663ABA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#663ABA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663ABA
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ABA | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#4E5A75
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #663aba; /* rgb */ color: rgb(102, 58, 186); /* oklch */ color: oklch(47.6% 0.190 293.7);
Tailwind
colors: {
custom: {
50: '#9973d0',
500: '#663aba',
950: '#000000',
},
}SCSS
$custom: #663aba; $custom-light: #9973d0; $custom-dark: #000000;
JSON
{
"hex": "#663aba",
"rgb": {
"r": 102,
"g": 58,
"b": 186
},
"hsl": {
"h": 260.625,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.47564,
"c": 0.18963,
"h": 293.7
},
"luminance": 0.09396
}Semantic roles & 50–950 ramp
primary
#663ABA
secondary
#B2C888
accent
#DC4CAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82