#9E4ABA#9E4ABA
#9E4ABA is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.182 H 316.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4ABA |
|---|---|
| RGB | rgb(158, 74, 186) |
| HSL | hsl(285, 45%, 51%) |
| HSV | hsv(285, 60%, 73%) |
| CMYK | cmyk(15.1%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(46.60, 52.30, -44.44) |
| CIE-LCH | lch(46.60, 68.63, 319.64°) |
| OKLab | oklab(56.2% 0.1325 -0.1243) |
| OKLCH | oklch(56.2% 0.182 316.8) |
| XYZ | xyz(25.4110, 15.7128, 48.1392) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.07
Medium Purple
#9E43A2
ΔE00 4.68
Amethyst
#9B5FC0
ΔE00 5.31
Ugly Purple
#A442A0
ΔE00 5.54
Darkorchid
#9932CC
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4ABA #66BA4A
analogous
#664ABA #9E4ABA #BA4A9E
triadic
#9E4ABA #BA9E4A #4ABA9E
tetradic
#9E4ABA #BA664A #66BA4A #4A9EBA
square
#9E4ABA #BA664A #66BA4A #4A9EBA
split-complementary
#9E4ABA #9EBA4A #4ABA66
monochromatic
#542664 #7A3790 #9E4ABA #B676CB #CDA3DC
Accessibility & contrast
On white
5.07
#9E4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9E4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4ABA
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4ABA | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#9D5D7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9e4aba; /* rgb */ color: rgb(158, 74, 186); /* oklch */ color: oklch(56.2% 0.182 316.8);
Tailwind
colors: {
custom: {
50: '#bd81cf',
500: '#9e4aba',
950: '#000000',
},
}SCSS
$custom: #9e4aba; $custom-light: #bd81cf; $custom-dark: #000000;
JSON
{
"hex": "#9e4aba",
"rgb": {
"r": 158,
"g": 74,
"b": 186
},
"hsl": {
"h": 285,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.56196,
"c": 0.18164,
"h": 316.8
},
"luminance": 0.15712
}Semantic roles & 50–950 ramp
primary
#9E4ABA
secondary
#A3C997
accent
#D55374
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82