#9539B7#9539B7
#9539B7 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.198 H 315.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9539B7 |
|---|---|
| RGB | rgb(149, 57, 183) |
| HSL | hsl(284, 53%, 47%) |
| HSV | hsv(284, 69%, 72%) |
| CMYK | cmyk(18.6%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(42.36, 57.30, -49.52) |
| CIE-LCH | lch(42.36, 75.73, 319.16°) |
| OKLab | oklab(52.82% 0.1414 -0.1393) |
| OKLCH | oklch(52.82% 0.198 315.4) |
| XYZ | xyz(22.4034, 12.7355, 46.0686) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.78
Darkorchid
#9932CC
ΔE00 3.20
Barney
#AC1DB8
ΔE00 4.41
Medium Purple
#9E43A2
ΔE00 5.54
Darkviolet
#9400D3
ΔE00 6.28
Vibrant Purple
#AD03DE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9539B7 #5BB739
analogous
#5639B7 #9539B7 #B7399A
triadic
#9539B7 #B79539 #39B795
tetradic
#9539B7 #B75639 #5BB739 #399AB7
square
#9539B7 #B75639 #5BB739 #399AB7
split-complementary
#9539B7 #9AB739 #39B756
monochromatic
#491C5A #6F2A88 #9539B7 #B060CD #C78EDC
Accessibility & contrast
On white
5.92
#9539B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#9539B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9539B7
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9539B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9539B7 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3766B4
Tritanopia (blue-blind)
#925274
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9539b7; /* rgb */ color: rgb(149, 57, 183); /* oklch */ color: oklch(52.8% 0.198 315.4);
Tailwind
colors: {
custom: {
50: '#b877cd',
500: '#9539b7',
950: '#000000',
},
}SCSS
$custom: #9539b7; $custom-light: #b877cd; $custom-dark: #000000;
JSON
{
"hex": "#9539b7",
"rgb": {
"r": 149,
"g": 57,
"b": 183
},
"hsl": {
"h": 283.81,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.52822,
"c": 0.19845,
"h": 315.4
},
"luminance": 0.12735
}Semantic roles & 50–950 ramp
primary
#9539B7
secondary
#97C785
accent
#DC4C73
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120913
muted
#817B82