#9537B2#9537B2
#9537B2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.196 H 317.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9537B2 |
|---|---|
| RGB | rgb(149, 55, 178) |
| HSL | hsl(286, 53%, 46%) |
| HSV | hsv(286, 69%, 70%) |
| CMYK | cmyk(16.3%, 69.1%, 0%, 30.2%) |
| CIE-LAB | lab(41.75, 57.13, -47.56) |
| CIE-LCH | lch(41.75, 74.34, 320.22°) |
| OKLab | oklab(52.28% 0.1439 -0.1335) |
| OKLCH | oklch(52.28% 0.196 317.1) |
| XYZ | xyz(21.7953, 12.3372, 43.3441) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.79
Darkorchid
#9932CC
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.15
Medium Purple
#9E43A2
ΔE00 5.09
Ugly Purple
#A442A0
ΔE00 6.27
Darkviolet
#9400D3
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9537B2 #54B237
analogous
#5837B2 #9537B2 #B23791
triadic
#9537B2 #B29537 #37B295
tetradic
#9537B2 #B25837 #54B237 #3791B2
square
#9537B2 #B25837 #54B237 #3791B2
split-complementary
#9537B2 #91B237 #37B258
monochromatic
#471A54 #6E2983 #9537B2 #B15ACC #C789DB
Accessibility & contrast
On white
6.06
#9537B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#9537B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9537B2
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9537B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9537B2 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#944F70
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9537b2; /* rgb */ color: rgb(149, 55, 178); /* oklch */ color: oklch(52.3% 0.196 317.1);
Tailwind
colors: {
custom: {
50: '#b876ca',
500: '#9537b2',
950: '#000000',
},
}SCSS
$custom: #9537b2; $custom-light: #b876ca; $custom-dark: #000000;
JSON
{
"hex": "#9537b2",
"rgb": {
"r": 149,
"g": 55,
"b": 178
},
"hsl": {
"h": 285.854,
"s": 52.79,
"l": 45.686
},
"oklch": {
"l": 0.5228,
"c": 0.19628,
"h": 317.1
},
"luminance": 0.12336
}Semantic roles & 50–950 ramp
primary
#9537B2
secondary
#90C580
accent
#DC4C6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82