#9537B1#9537B1
#9537B1 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.195 H 317.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9537B1 |
|---|---|
| RGB | rgb(149, 55, 177) |
| HSL | hsl(286, 53%, 45%) |
| HSV | hsv(286, 69%, 69%) |
| CMYK | cmyk(15.8%, 68.9%, 0%, 30.6%) |
| CIE-LAB | lab(41.68, 56.93, -47.07) |
| CIE-LCH | lch(41.68, 73.87, 320.42°) |
| OKLab | oklab(52.22% 0.1439 -0.1321) |
| OKLCH | oklch(52.22% 0.195 317.5) |
| XYZ | xyz(21.6953, 12.2972, 42.8172) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.78
Darkorchid
#9932CC
ΔE00 4.14
Barney
#AC1DB8
ΔE00 4.14
Medium Purple
#9E43A2
ΔE00 4.97
Ugly Purple
#A442A0
ΔE00 6.15
Warm Purple
#952E8F
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9537B1 #53B137
analogous
#5837B1 #9537B1 #B13790
triadic
#9537B1 #B19537 #37B195
tetradic
#9537B1 #B15837 #53B137 #3790B1
square
#9537B1 #B15837 #53B137 #3790B1
split-complementary
#9537B1 #90B137 #37B158
monochromatic
#461A54 #6E2882 #9537B1 #B15ACC #C788DA
Accessibility & contrast
On white
6.07
#9537B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#9537B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9537B1
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9537B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9537B1 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#3B65AE
Tritanopia (blue-blind)
#944E70
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9537b1; /* rgb */ color: rgb(149, 55, 177); /* oklch */ color: oklch(52.2% 0.195 317.5);
Tailwind
colors: {
custom: {
50: '#b876c9',
500: '#9537b1',
950: '#000000',
},
}SCSS
$custom: #9537b1; $custom-light: #b876c9; $custom-dark: #000000;
JSON
{
"hex": "#9537b1",
"rgb": {
"r": 149,
"g": 55,
"b": 177
},
"hsl": {
"h": 286.23,
"s": 52.586,
"l": 45.49
},
"oklch": {
"l": 0.52216,
"c": 0.19535,
"h": 317.5
},
"luminance": 0.12296
}Semantic roles & 50–950 ramp
primary
#9537B1
secondary
#8FC480
accent
#DC4C6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82