#9539B4#9539B4
#9539B4 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.196 H 316.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9539B4 |
|---|---|
| RGB | rgb(149, 57, 180) |
| HSL | hsl(285, 52%, 46%) |
| HSV | hsv(285, 68%, 71%) |
| CMYK | cmyk(17.2%, 68.3%, 0%, 29.4%) |
| CIE-LAB | lab(42.17, 56.69, -48.06) |
| CIE-LCH | lch(42.17, 74.32, 319.71°) |
| OKLab | oklab(52.63% 0.1416 -0.135) |
| OKLCH | oklch(52.63% 0.196 316.4) |
| XYZ | xyz(22.0945, 12.6120, 44.4417) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.54
Darkorchid
#9932CC
ΔE00 3.69
Barney
#AC1DB8
ΔE00 4.31
Medium Purple
#9E43A2
ΔE00 5.15
Ugly Purple
#A442A0
ΔE00 6.34
Darkviolet
#9400D3
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9539B4 #58B439
analogous
#5839B4 #9539B4 #B43996
triadic
#9539B4 #B49539 #39B495
tetradic
#9539B4 #B45839 #58B439 #3996B4
square
#9539B4 #B45839 #58B439 #3996B4
split-complementary
#9539B4 #96B439 #39B458
monochromatic
#481C57 #6F2A86 #9539B4 #B05ECC #C78DDB
Accessibility & contrast
On white
5.96
#9539B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#9539B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9539B4
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9539B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9539B4 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#935172
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9539b4; /* rgb */ color: rgb(149, 57, 180); /* oklch */ color: oklch(52.6% 0.196 316.4);
Tailwind
colors: {
custom: {
50: '#b877cb',
500: '#9539b4',
950: '#000000',
},
}SCSS
$custom: #9539b4; $custom-light: #b877cb; $custom-dark: #000000;
JSON
{
"hex": "#9539b4",
"rgb": {
"r": 149,
"g": 57,
"b": 180
},
"hsl": {
"h": 284.878,
"s": 51.899,
"l": 46.471
},
"oklch": {
"l": 0.52626,
"c": 0.19561,
"h": 316.4
},
"luminance": 0.12611
}Semantic roles & 50–950 ramp
primary
#9539B4
secondary
#94C583
accent
#DB4C70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82