#9E50BB#9E50BB
#9E50BB is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.1% C 0.174 H 316.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9E50BB |
|---|---|
| RGB | rgb(158, 80, 187) |
| HSL | hsl(284, 44%, 52%) |
| HSV | hsv(284, 57%, 73%) |
| CMYK | cmyk(15.5%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(47.75, 49.55, -43.19) |
| CIE-LCH | lch(47.75, 65.73, 318.92°) |
| OKLab | oklab(57.05% 0.1248 -0.1207) |
| OKLCH | oklch(57.05% 0.174 316) |
| XYZ | xyz(25.9375, 16.5951, 48.8410) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.94
Purply
#983FB2
ΔE00 4.37
Deep Lavender
#8D5EB7
ΔE00 4.80
Medium Purple
#9E43A2
ΔE00 5.40
Ugly Purple
#A442A0
ΔE00 6.12
Mediumorchid
#BA55D3
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E50BB #6DBB50
analogous
#6850BB #9E50BB #BB50A3
triadic
#9E50BB #BB9E50 #50BB9E
tetradic
#9E50BB #BB6850 #6DBB50 #50A3BB
square
#9E50BB #BB6850 #6DBB50 #50A3BB
split-complementary
#9E50BB #A3BB50 #50BB68
monochromatic
#572868 #7C3A94 #9E50BB #B67CCC #CFA8DD
Accessibility & contrast
On white
4.86
#9E50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9E50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E50BB
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E50BB | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346DBE
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#9C627E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9e50bb; /* rgb */ color: rgb(158, 80, 187); /* oklch */ color: oklch(57.1% 0.174 316.0);
Tailwind
colors: {
custom: {
50: '#bd85d0',
500: '#9e50bb',
950: '#000000',
},
}SCSS
$custom: #9e50bb; $custom-light: #bd85d0; $custom-dark: #000000;
JSON
{
"hex": "#9e50bb",
"rgb": {
"r": 158,
"g": 80,
"b": 187
},
"hsl": {
"h": 283.738,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.57054,
"c": 0.17359,
"h": 316
},
"luminance": 0.16594
}Semantic roles & 50–950 ramp
primary
#9E50BB
secondary
#A9CB9C
accent
#D45477
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82