#9537B0#9537B0
#9537B0 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.194 H 317.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9537B0 |
|---|---|
| RGB | rgb(149, 55, 176) |
| HSL | hsl(287, 52%, 45%) |
| HSV | hsv(287, 69%, 69%) |
| CMYK | cmyk(15.3%, 68.8%, 0%, 31%) |
| CIE-LAB | lab(41.62, 56.73, -46.58) |
| CIE-LCH | lch(41.62, 73.40, 320.61°) |
| OKLab | oklab(52.15% 0.144 -0.1307) |
| OKLCH | oklch(52.15% 0.194 317.8) |
| XYZ | xyz(21.5960, 12.2574, 42.2942) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.79
Barney
#AC1DB8
ΔE00 4.14
Darkorchid
#9932CC
ΔE00 4.31
Medium Purple
#9E43A2
ΔE00 4.85
Ugly Purple
#A442A0
ΔE00 6.03
Warm Purple
#952E8F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9537B0 #52B037
analogous
#5937B0 #9537B0 #B0378E
triadic
#9537B0 #B09537 #37B095
tetradic
#9537B0 #B05937 #52B037 #378EB0
square
#9537B0 #B05937 #52B037 #378EB0
split-complementary
#9537B0 #8EB037 #37B059
monochromatic
#461A53 #6E2881 #9537B0 #B259CB #C788DA
Accessibility & contrast
On white
6.08
#9537B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#9537B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9537B0
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9537B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9537B0 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#944E6F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9537b0; /* rgb */ color: rgb(149, 55, 176); /* oklch */ color: oklch(52.2% 0.194 317.8);
Tailwind
colors: {
custom: {
50: '#b876c8',
500: '#9537b0',
950: '#000000',
},
}SCSS
$custom: #9537b0; $custom-light: #b876c8; $custom-dark: #000000;
JSON
{
"hex": "#9537b0",
"rgb": {
"r": 149,
"g": 55,
"b": 176
},
"hsl": {
"h": 286.612,
"s": 52.381,
"l": 45.294
},
"oklch": {
"l": 0.52151,
"c": 0.19442,
"h": 317.8
},
"luminance": 0.12257
}Semantic roles & 50–950 ramp
primary
#9537B0
secondary
#8EC47F
accent
#DC4C6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82