#9537B5#9537B5
#9537B5 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.199 H 316.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9537B5 |
|---|---|
| RGB | rgb(149, 55, 181) |
| HSL | hsl(285, 53%, 46%) |
| HSV | hsv(285, 70%, 71%) |
| CMYK | cmyk(17.7%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(41.94, 57.73, -49.03) |
| CIE-LCH | lch(41.94, 75.74, 319.66°) |
| OKLab | oklab(52.48% 0.1436 -0.1378) |
| OKLCH | oklch(52.48% 0.199 316.2) |
| XYZ | xyz(22.0998, 12.4590, 44.9478) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.91
Darkorchid
#9932CC
ΔE00 3.48
Barney
#AC1DB8
ΔE00 4.21
Medium Purple
#9E43A2
ΔE00 5.46
Darkviolet
#9400D3
ΔE00 6.23
Vibrant Purple
#AD03DE
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9537B5 #57B537
analogous
#5637B5 #9537B5 #B53796
triadic
#9537B5 #B59537 #37B595
tetradic
#9537B5 #B55637 #57B537 #3796B5
square
#9537B5 #B55637 #57B537 #3796B5
split-complementary
#9537B5 #96B537 #37B556
monochromatic
#481A57 #6E2986 #9537B5 #B15CCD #C78BDC
Accessibility & contrast
On white
6.01
#9537B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#9537B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9537B5
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9537B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9537B5 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#935072
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9537b5; /* rgb */ color: rgb(149, 55, 181); /* oklch */ color: oklch(52.5% 0.199 316.2);
Tailwind
colors: {
custom: {
50: '#b876cc',
500: '#9537b5',
950: '#000000',
},
}SCSS
$custom: #9537b5; $custom-light: #b876cc; $custom-dark: #000000;
JSON
{
"hex": "#9537b5",
"rgb": {
"r": 149,
"g": 55,
"b": 181
},
"hsl": {
"h": 284.762,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.52477,
"c": 0.19907,
"h": 316.2
},
"luminance": 0.12458
}Semantic roles & 50–950 ramp
primary
#9537B5
secondary
#93C682
accent
#DD4B70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82