#9E4ABC#9E4ABC
#9E4ABC is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.184 H 316.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4ABC |
|---|---|
| RGB | rgb(158, 74, 188) |
| HSL | hsl(284, 46%, 51%) |
| HSV | hsv(284, 61%, 74%) |
| CMYK | cmyk(16%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(46.71, 52.71, -45.42) |
| CIE-LCH | lch(46.71, 69.58, 319.25°) |
| OKLab | oklab(56.32% 0.1325 -0.1271) |
| OKLCH | oklch(56.32% 0.184 316.2) |
| XYZ | xyz(25.6251, 15.7984, 49.2668) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.20
Medium Purple
#9E43A2
ΔE00 5.02
Amethyst
#9B5FC0
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.43
Deep Lavender
#8D5EB7
ΔE00 5.78
Ugly Purple
#A442A0
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4ABC #68BC4A
analogous
#654ABC #9E4ABC #BC4AA1
triadic
#9E4ABC #BC9E4A #4ABC9E
tetradic
#9E4ABC #BC654A #68BC4A #4AA1BC
square
#9E4ABC #BC654A #68BC4A #4AA1BC
split-complementary
#9E4ABC #A1BC4A #4ABC65
monochromatic
#552666 #7A3693 #9E4ABC #B677CD #CEA3DD
Accessibility & contrast
On white
5.05
#9E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#9E4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4ABC
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4ABC | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#9C5E7C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9e4abc; /* rgb */ color: rgb(158, 74, 188); /* oklch */ color: oklch(56.3% 0.184 316.2);
Tailwind
colors: {
custom: {
50: '#be81d1',
500: '#9e4abc',
950: '#000000',
},
}SCSS
$custom: #9e4abc; $custom-light: #be81d1; $custom-dark: #000000;
JSON
{
"hex": "#9e4abc",
"rgb": {
"r": 158,
"g": 74,
"b": 188
},
"hsl": {
"h": 284.211,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.56315,
"c": 0.18364,
"h": 316.2
},
"luminance": 0.15797
}Semantic roles & 50–950 ramp
primary
#9E4ABC
secondary
#A5CA98
accent
#D65275
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82