#9539B8#9539B8
#9539B8 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.199 H 315.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9539B8 |
|---|---|
| RGB | rgb(149, 57, 184) |
| HSL | hsl(283, 53%, 47%) |
| HSV | hsv(283, 69%, 72%) |
| CMYK | cmyk(19%, 69%, 0%, 27.8%) |
| CIE-LAB | lab(42.43, 57.50, -50.01) |
| CIE-LCH | lch(42.43, 76.21, 318.99°) |
| OKLab | oklab(52.89% 0.1413 -0.1407) |
| OKLCH | oklch(52.89% 0.199 315.1) |
| XYZ | xyz(22.5079, 12.7773, 46.6187) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.88
Darkorchid
#9932CC
ΔE00 3.05
Barney
#AC1DB8
ΔE00 4.46
Medium Purple
#9E43A2
ΔE00 5.67
Vibrant Purple
#AD03DE
ΔE00 6.19
Darkviolet
#9400D3
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9539B8 #5CB839
analogous
#5639B8 #9539B8 #B8399B
triadic
#9539B8 #B89539 #39B895
tetradic
#9539B8 #B85639 #5CB839 #399BB8
square
#9539B8 #B85639 #5CB839 #399BB8
split-complementary
#9539B8 #9BB839 #39B856
monochromatic
#491C5B #6F2B89 #9539B8 #B060CE #C78FDC
Accessibility & contrast
On white
5.91
#9539B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#9539B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9539B8
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9539B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9539B8 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#3667B5
Tritanopia (blue-blind)
#925274
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9539b8; /* rgb */ color: rgb(149, 57, 184); /* oklch */ color: oklch(52.9% 0.199 315.1);
Tailwind
colors: {
custom: {
50: '#b877ce',
500: '#9539b8',
950: '#000000',
},
}SCSS
$custom: #9539b8; $custom-light: #b877ce; $custom-dark: #000000;
JSON
{
"hex": "#9539b8",
"rgb": {
"r": 149,
"g": 57,
"b": 184
},
"hsl": {
"h": 283.465,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.52888,
"c": 0.1994,
"h": 315.1
},
"luminance": 0.12777
}Semantic roles & 50–950 ramp
primary
#9539B8
secondary
#98C786
accent
#DC4C73
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120914
muted
#817B82