#9E5ABA#9E5ABA
#9E5ABA is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.4% C 0.157 H 315.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5ABA |
|---|---|
| RGB | rgb(158, 90, 186) |
| HSL | hsl(283, 41%, 54%) |
| HSV | hsv(283, 52%, 73%) |
| CMYK | cmyk(15.1%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(49.65, 44.15, -39.60) |
| CIE-LCH | lch(49.65, 59.31, 318.11°) |
| OKLab | oklab(58.44% 0.1112 -0.1103) |
| OKLCH | oklch(58.44% 0.157 315.2) |
| XYZ | xyz(26.6183, 18.1274, 48.5416) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.90
Deep Lavender
#8D5EB7
ΔE00 3.71
Mediumorchid
#BA55D3
ΔE00 5.91
Deep Lilac
#966EBD
ΔE00 6.08
Purply
#983FB2
ΔE00 6.78
Medium Purple
#9E43A2
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5ABA #76BA5A
analogous
#6E5ABA #9E5ABA #BA5AA6
triadic
#9E5ABA #BA9E5A #5ABA9E
tetradic
#9E5ABA #BA6E5A #76BA5A #5AA6BA
square
#9E5ABA #BA6E5A #76BA5A #5AA6BA
split-complementary
#9E5ABA #A6BA5A #5ABA6E
monochromatic
#5A2D6C #7E3F97 #9E5ABA #B785CC #D1B0DE
Accessibility & contrast
On white
4.54
#9E5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#9E5ABA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5ABA
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5ABA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5ABA | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#9C6982
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9e5aba; /* rgb */ color: rgb(158, 90, 186); /* oklch */ color: oklch(58.4% 0.157 315.2);
Tailwind
colors: {
custom: {
50: '#bd8bcf',
500: '#9e5aba',
950: '#000000',
},
}SCSS
$custom: #9e5aba; $custom-light: #bd8bcf; $custom-dark: #000000;
JSON
{
"hex": "#9e5aba",
"rgb": {
"r": 158,
"g": 90,
"b": 186
},
"hsl": {
"h": 282.5,
"s": 41.026,
"l": 54.118
},
"oklch": {
"l": 0.58437,
"c": 0.15658,
"h": 315.2
},
"luminance": 0.18127
}Semantic roles & 50–950 ramp
primary
#9E5ABA
secondary
#AFCCA3
accent
#D1577A
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82