#663ABB#663ABB
#663ABB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.191 H 293.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #663ABB |
|---|---|
| RGB | rgb(102, 58, 187) |
| HSL | hsl(260, 53%, 48%) |
| HSV | hsv(260, 69%, 73%) |
| CMYK | cmyk(45.5%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(36.81, 48.20, -61.14) |
| CIE-LCH | lch(36.81, 77.85, 308.25°) |
| OKLab | oklab(47.65% 0.076 -0.175) |
| OKLCH | oklch(47.65% 0.191 293.5) |
| XYZ | xyz(15.9597, 9.4383, 47.9850) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.62
Blue With A Hint Of Purple
#533CC6
ΔE00 3.52
Blurple
#5539CC
ΔE00 3.58
Ocean Blue
#4F42B5
ΔE00 4.59
Purple Blue
#5D21D0
ΔE00 5.09
Burple
#6832E3
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ABB #8FBB3A
analogous
#3A4EBB #663ABB #A63ABB
triadic
#663ABB #BB663A #3ABB66
tetradic
#663ABB #BB3A4E #8FBB3A #3ABBA6
square
#663ABB #BB3A4E #8FBB3A #3ABBA6
split-complementary
#663ABB #BBA63A #4EBB3A
monochromatic
#331D5E #4D2C8C #663ABB #8863CF #AC92DD
Accessibility & contrast
On white
7.27
#663ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#663ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663ABB
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ABB | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#4D5A76
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663abb; /* rgb */ color: rgb(102, 58, 187); /* oklch */ color: oklch(47.6% 0.191 293.5);
Tailwind
colors: {
custom: {
50: '#9973d0',
500: '#663abb',
950: '#000000',
},
}SCSS
$custom: #663abb; $custom-light: #9973d0; $custom-dark: #000000;
JSON
{
"hex": "#663abb",
"rgb": {
"r": 102,
"g": 58,
"b": 187
},
"hsl": {
"h": 260.465,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.47646,
"c": 0.1908,
"h": 293.5
},
"luminance": 0.09439
}Semantic roles & 50–950 ramp
primary
#663ABB
secondary
#B3C888
accent
#DC4CAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82