#9539B2#9539B2
#9539B2 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.194 H 317.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9539B2 |
|---|---|
| RGB | rgb(149, 57, 178) |
| HSL | hsl(286, 51%, 46%) |
| HSV | hsv(286, 68%, 70%) |
| CMYK | cmyk(16.3%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(42.05, 56.29, -47.08) |
| CIE-LCH | lch(42.05, 73.38, 320.09°) |
| OKLab | oklab(52.5% 0.1417 -0.1321) |
| OKLCH | oklch(52.5% 0.194 317) |
| XYZ | xyz(21.8922, 12.5311, 43.3764) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.46
Darkorchid
#9932CC
ΔE00 4.01
Barney
#AC1DB8
ΔE00 4.28
Medium Purple
#9E43A2
ΔE00 4.89
Ugly Purple
#A442A0
ΔE00 6.09
Warm Purple
#952E8F
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9539B2 #56B239
analogous
#5839B2 #9539B2 #B23992
triadic
#9539B2 #B29539 #39B295
tetradic
#9539B2 #B25839 #56B239 #3992B2
square
#9539B2 #B25839 #56B239 #3992B2
split-complementary
#9539B2 #92B239 #39B258
monochromatic
#471B55 #6E2A84 #9539B2 #B15DCB #C78BDA
Accessibility & contrast
On white
5.99
#9539B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#9539B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9539B2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9539B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9539B2 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#945071
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9539b2; /* rgb */ color: rgb(149, 57, 178); /* oklch */ color: oklch(52.5% 0.194 317.0);
Tailwind
colors: {
custom: {
50: '#b877ca',
500: '#9539b2',
950: '#000000',
},
}SCSS
$custom: #9539b2; $custom-light: #b877ca; $custom-dark: #000000;
JSON
{
"hex": "#9539b2",
"rgb": {
"r": 149,
"g": 57,
"b": 178
},
"hsl": {
"h": 285.62,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.52496,
"c": 0.19372,
"h": 317
},
"luminance": 0.1253
}Semantic roles & 50–950 ramp
primary
#9539B2
secondary
#92C482
accent
#DB4D6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82