#9536B2#9536B2
#9536B2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 317.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9536B2 |
|---|---|
| RGB | rgb(149, 54, 178) |
| HSL | hsl(286, 53%, 45%) |
| HSV | hsv(286, 70%, 70%) |
| CMYK | cmyk(16.3%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(41.60, 57.54, -47.80) |
| CIE-LCH | lch(41.60, 74.81, 320.29°) |
| OKLab | oklab(52.18% 0.1449 -0.1342) |
| OKLCH | oklch(52.18% 0.198 317.2) |
| XYZ | xyz(21.7483, 12.2431, 43.3284) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.96
Darkorchid
#9932CC
ΔE00 3.96
Barney
#AC1DB8
ΔE00 4.09
Medium Purple
#9E43A2
ΔE00 5.19
Ugly Purple
#A442A0
ΔE00 6.36
Darkviolet
#9400D3
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9536B2 #53B236
analogous
#5736B2 #9536B2 #B23691
triadic
#9536B2 #B29536 #36B295
tetradic
#9536B2 #B25736 #53B236 #3691B2
square
#9536B2 #B25736 #53B236 #3691B2
split-complementary
#9536B2 #91B236 #36B257
monochromatic
#461A54 #6E2883 #9536B2 #B159CD #C788DB
Accessibility & contrast
On white
6.09
#9536B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#9536B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9536B2
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9536B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9536B2 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3965AF
Tritanopia (blue-blind)
#944E70
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9536b2; /* rgb */ color: rgb(149, 54, 178); /* oklch */ color: oklch(52.2% 0.198 317.2);
Tailwind
colors: {
custom: {
50: '#b875ca',
500: '#9536b2',
950: '#000000',
},
}SCSS
$custom: #9536b2; $custom-light: #b875ca; $custom-dark: #000000;
JSON
{
"hex": "#9536b2",
"rgb": {
"r": 149,
"g": 54,
"b": 178
},
"hsl": {
"h": 285.968,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.52175,
"c": 0.19753,
"h": 317.2
},
"luminance": 0.12242
}Semantic roles & 50–950 ramp
primary
#9536B2
secondary
#8FC57F
accent
#DD4B6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82