#9E47B2#9E47B2
#9E47B2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.178 H 319.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9E47B2 |
|---|---|
| RGB | rgb(158, 71, 178) |
| HSL | hsl(289, 43%, 49%) |
| HSV | hsv(289, 60%, 70%) |
| CMYK | cmyk(11.2%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(45.62, 52.12, -41.30) |
| CIE-LCH | lch(45.62, 66.50, 321.60°) |
| OKLab | oklab(55.34% 0.136 -0.1151) |
| OKLCH | oklch(55.34% 0.178 319.8) |
| XYZ | xyz(24.3887, 14.9910, 43.7197) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.38
Medium Purple
#9E43A2
ΔE00 3.13
Ugly Purple
#A442A0
ΔE00 4.07
Barney
#AC1DB8
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 6.09
Amethyst
#9B5FC0
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E47B2 #5BB247
analogous
#6947B2 #9E47B2 #B24791
triadic
#9E47B2 #B29E47 #47B29E
tetradic
#9E47B2 #B26947 #5BB247 #4791B2
square
#9E47B2 #B26947 #5BB247 #4791B2
split-complementary
#9E47B2 #91B247 #47B269
monochromatic
#50245B #773686 #9E47B2 #B670C6 #CC9CD7
Accessibility & contrast
On white
5.25
#9E47B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9E47B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E47B2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E47B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E47B2 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#9F5876
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9e47b2; /* rgb */ color: rgb(158, 71, 178); /* oklch */ color: oklch(55.3% 0.178 319.8);
Tailwind
colors: {
custom: {
50: '#bd7fc9',
500: '#9e47b2',
950: '#000000',
},
}SCSS
$custom: #9e47b2; $custom-light: #bd7fc9; $custom-dark: #000000;
JSON
{
"hex": "#9e47b2",
"rgb": {
"r": 158,
"g": 71,
"b": 178
},
"hsl": {
"h": 288.785,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.55344,
"c": 0.17817,
"h": 319.8
},
"luminance": 0.1499
}Semantic roles & 50–950 ramp
primary
#9E47B2
secondary
#9AC491
accent
#D3556D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82