#9E3BB7#9E3BB7
#9E3BB7 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.200 H 318.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9E3BB7 |
|---|---|
| RGB | rgb(158, 59, 183) |
| HSL | hsl(288, 51%, 47%) |
| HSV | hsv(288, 68%, 72%) |
| CMYK | cmyk(13.7%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(43.97, 58.46, -46.87) |
| CIE-LCH | lch(43.97, 74.93, 321.28°) |
| OKLab | oklab(54.24% 0.1503 -0.1313) |
| OKLCH | oklch(54.24% 0.2 318.9) |
| XYZ | xyz(24.2106, 13.8170, 46.1822) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.24
Barney
#AC1DB8
ΔE00 3.57
Darkorchid
#9932CC
ΔE00 4.02
Medium Purple
#9E43A2
ΔE00 4.31
Ugly Purple
#A442A0
ΔE00 5.28
Vibrant Purple
#AD03DE
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E3BB7 #54B73B
analogous
#603BB7 #9E3BB7 #B73B92
triadic
#9E3BB7 #B79E3B #3BB79E
tetradic
#9E3BB7 #B7603B #54B73B #3B92B7
square
#9E3BB7 #B7603B #54B73B #3B92B7
split-complementary
#9E3BB7 #92B73B #3BB760
monochromatic
#4E1D5A #762C89 #9E3BB7 #B763CD #CC91DC
Accessibility & contrast
On white
5.58
#9E3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#9E3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E3BB7
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E3BB7 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0461BB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#9E5274
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9e3bb7; /* rgb */ color: rgb(158, 59, 183); /* oklch */ color: oklch(54.2% 0.200 318.9);
Tailwind
colors: {
custom: {
50: '#be79cd',
500: '#9e3bb7',
950: '#000000',
},
}SCSS
$custom: #9e3bb7; $custom-light: #be79cd; $custom-dark: #000000;
JSON
{
"hex": "#9e3bb7",
"rgb": {
"r": 158,
"g": 59,
"b": 183
},
"hsl": {
"h": 287.903,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.54242,
"c": 0.19952,
"h": 318.9
},
"luminance": 0.13816
}Semantic roles & 50–950 ramp
primary
#9E3BB7
secondary
#94C687
accent
#DB4D6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82