#9E47BB#9E47BB
#9E47BB is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.187 H 316.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E47BB |
|---|---|
| RGB | rgb(158, 71, 187) |
| HSL | hsl(285, 46%, 51%) |
| HSV | hsv(285, 62%, 73%) |
| CMYK | cmyk(15.5%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(46.13, 53.93, -45.76) |
| CIE-LCH | lch(46.13, 70.73, 319.68°) |
| OKLab | oklab(55.88% 0.1362 -0.1281) |
| OKLCH | oklch(55.88% 0.187 316.8) |
| XYZ | xyz(25.3221, 15.3644, 48.6358) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.59
Medium Purple
#9E43A2
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 4.99
Ugly Purple
#A442A0
ΔE00 5.61
Barney
#AC1DB8
ΔE00 5.65
Amethyst
#9B5FC0
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E47BB #64BB47
analogous
#6447BB #9E47BB #BB479E
triadic
#9E47BB #BB9E47 #47BB9E
tetradic
#9E47BB #BB6447 #64BB47 #479EBB
square
#9E47BB #BB6447 #64BB47 #479EBB
split-complementary
#9E47BB #9EBB47 #47BB64
monochromatic
#532563 #793590 #9E47BB #B674CC #CDA0DC
Accessibility & contrast
On white
5.16
#9E47BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#9E47BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E47BB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E47BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E47BB | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#9D5B7A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9e47bb; /* rgb */ color: rgb(158, 71, 187); /* oklch */ color: oklch(55.9% 0.187 316.8);
Tailwind
colors: {
custom: {
50: '#be7fd0',
500: '#9e47bb',
950: '#000000',
},
}SCSS
$custom: #9e47bb; $custom-light: #be7fd0; $custom-dark: #000000;
JSON
{
"hex": "#9e47bb",
"rgb": {
"r": 158,
"g": 71,
"b": 187
},
"hsl": {
"h": 285,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.55876,
"c": 0.187,
"h": 316.8
},
"luminance": 0.15363
}Semantic roles & 50–950 ramp
primary
#9E47BB
secondary
#A2C995
accent
#D65273
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82