#9539B5#9539B5
#9539B5 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.7% C 0.197 H 316.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9539B5 |
|---|---|
| RGB | rgb(149, 57, 181) |
| HSL | hsl(285, 52%, 47%) |
| HSV | hsv(285, 69%, 71%) |
| CMYK | cmyk(17.7%, 68.5%, 0%, 29%) |
| CIE-LAB | lab(42.24, 56.89, -48.55) |
| CIE-LCH | lch(42.24, 74.79, 319.53°) |
| OKLab | oklab(52.69% 0.1415 -0.1364) |
| OKLCH | oklch(52.69% 0.197 316) |
| XYZ | xyz(22.1968, 12.6529, 44.9801) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.61
Darkorchid
#9932CC
ΔE00 3.52
Barney
#AC1DB8
ΔE00 4.34
Medium Purple
#9E43A2
ΔE00 5.28
Ugly Purple
#A442A0
ΔE00 6.46
Darkviolet
#9400D3
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9539B5 #59B539
analogous
#5739B5 #9539B5 #B53997
triadic
#9539B5 #B59539 #39B595
tetradic
#9539B5 #B55739 #59B539 #3997B5
square
#9539B5 #B55739 #59B539 #3997B5
split-complementary
#9539B5 #97B539 #39B557
monochromatic
#481C58 #6F2A86 #9539B5 #B05FCD #C78DDB
Accessibility & contrast
On white
5.95
#9539B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#9539B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9539B5
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9539B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9539B5 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3966B2
Tritanopia (blue-blind)
#935173
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9539b5; /* rgb */ color: rgb(149, 57, 181); /* oklch */ color: oklch(52.7% 0.197 316.0);
Tailwind
colors: {
custom: {
50: '#b877cc',
500: '#9539b5',
950: '#000000',
},
}SCSS
$custom: #9539b5; $custom-light: #b877cc; $custom-dark: #000000;
JSON
{
"hex": "#9539b5",
"rgb": {
"r": 149,
"g": 57,
"b": 181
},
"hsl": {
"h": 284.516,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.52691,
"c": 0.19656,
"h": 316
},
"luminance": 0.12652
}Semantic roles & 50–950 ramp
primary
#9539B5
secondary
#95C684
accent
#DC4C71
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120913
muted
#817B82