#9539B1#9539B1
#9539B1 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.193 H 317.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9539B1 |
|---|---|
| RGB | rgb(149, 57, 177) |
| HSL | hsl(286, 51%, 46%) |
| HSV | hsv(286, 68%, 69%) |
| CMYK | cmyk(15.8%, 67.8%, 0%, 30.6%) |
| CIE-LAB | lab(41.99, 56.09, -46.59) |
| CIE-LCH | lch(41.99, 72.91, 320.29°) |
| OKLab | oklab(52.43% 0.1417 -0.1307) |
| OKLCH | oklch(52.43% 0.193 317.3) |
| XYZ | xyz(21.7922, 12.4910, 42.8495) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.45
Darkorchid
#9932CC
ΔE00 4.18
Barney
#AC1DB8
ΔE00 4.27
Medium Purple
#9E43A2
ΔE00 4.76
Ugly Purple
#A442A0
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9539B1 #55B139
analogous
#5939B1 #9539B1 #B13991
triadic
#9539B1 #B19539 #39B195
tetradic
#9539B1 #B15939 #55B139 #3991B1
square
#9539B1 #B15939 #55B139 #3991B1
split-complementary
#9539B1 #91B139 #39B159
monochromatic
#471B54 #6E2A83 #9539B1 #B15DCB #C78BDA
Accessibility & contrast
On white
6.00
#9539B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#9539B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9539B1
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9539B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9539B1 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#945070
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9539b1; /* rgb */ color: rgb(149, 57, 177); /* oklch */ color: oklch(52.4% 0.193 317.3);
Tailwind
colors: {
custom: {
50: '#b877c9',
500: '#9539b1',
950: '#000000',
},
}SCSS
$custom: #9539b1; $custom-light: #b877c9; $custom-dark: #000000;
JSON
{
"hex": "#9539b1",
"rgb": {
"r": 149,
"g": 57,
"b": 177
},
"hsl": {
"h": 286,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.52432,
"c": 0.19279,
"h": 317.3
},
"luminance": 0.1249
}Semantic roles & 50–950 ramp
primary
#9539B1
secondary
#91C482
accent
#DB4D6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82