#9E52BC#9E52BC
#9E52BC is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.172 H 315.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9E52BC |
|---|---|
| RGB | rgb(158, 82, 188) |
| HSL | hsl(283, 44%, 53%) |
| HSV | hsv(283, 56%, 74%) |
| CMYK | cmyk(16%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(48.18, 48.75, -43.09) |
| CIE-LCH | lch(48.18, 65.06, 318.53°) |
| OKLab | oklab(57.39% 0.1222 -0.1204) |
| OKLCH | oklch(57.39% 0.172 315.4) |
| XYZ | xyz(26.1935, 16.9354, 49.4563) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.44
Deep Lavender
#8D5EB7
ΔE00 4.49
Purply
#983FB2
ΔE00 4.87
Medium Purple
#9E43A2
ΔE00 5.81
Mediumorchid
#BA55D3
ΔE00 6.21
Ugly Purple
#A442A0
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E52BC #70BC52
analogous
#6952BC #9E52BC #BC52A5
triadic
#9E52BC #BC9E52 #52BC9E
tetradic
#9E52BC #BC6952 #70BC52 #52A5BC
square
#9E52BC #BC6952 #70BC52 #52A5BC
split-complementary
#9E52BC #A5BC52 #52BC69
monochromatic
#58296A #7C3A97 #9E52BC #B77ECD #CFAADE
Accessibility & contrast
On white
4.79
#9E52BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#9E52BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E52BC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E52BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E52BC | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#9C637F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9e52bc; /* rgb */ color: rgb(158, 82, 188); /* oklch */ color: oklch(57.4% 0.172 315.4);
Tailwind
colors: {
custom: {
50: '#bd86d1',
500: '#9e52bc',
950: '#000000',
},
}SCSS
$custom: #9e52bc; $custom-light: #bd86d1; $custom-dark: #000000;
JSON
{
"hex": "#9e52bc",
"rgb": {
"r": 158,
"g": 82,
"b": 188
},
"hsl": {
"h": 283.019,
"s": 44.167,
"l": 52.941
},
"oklch": {
"l": 0.57388,
"c": 0.17153,
"h": 315.4
},
"luminance": 0.16935
}Semantic roles & 50–950 ramp
primary
#9E52BC
secondary
#ABCC9E
accent
#D45478
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82