#9534B2#9534B2
#9534B2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.200 H 317.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9534B2 |
|---|---|
| RGB | rgb(149, 52, 178) |
| HSL | hsl(286, 55%, 45%) |
| HSV | hsv(286, 71%, 70%) |
| CMYK | cmyk(16.3%, 70.8%, 0%, 30.2%) |
| CIE-LAB | lab(41.31, 58.35, -48.26) |
| CIE-LCH | lch(41.31, 75.72, 320.41°) |
| OKLab | oklab(51.97% 0.147 -0.1356) |
| OKLCH | oklch(51.97% 0.2 317.3) |
| XYZ | xyz(21.6571, 12.0608, 43.2980) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.28
Darkorchid
#9932CC
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.01
Medium Purple
#9E43A2
ΔE00 5.41
Darkviolet
#9400D3
ΔE00 6.23
Warm Purple
#952E8F
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9534B2 #51B234
analogous
#5634B2 #9534B2 #B23490
triadic
#9534B2 #B29534 #34B295
tetradic
#9534B2 #B25634 #51B234 #3490B2
square
#9534B2 #B25634 #51B234 #3490B2
split-complementary
#9534B2 #90B234 #34B256
monochromatic
#461853 #6D2683 #9534B2 #B256CE #C785DB
Accessibility & contrast
On white
6.15
#9534B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#9534B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9534B2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9534B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9534B2 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#944D6F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9534b2; /* rgb */ color: rgb(149, 52, 178); /* oklch */ color: oklch(52.0% 0.200 317.3);
Tailwind
colors: {
custom: {
50: '#b874ca',
500: '#9534b2',
950: '#000000',
},
}SCSS
$custom: #9534b2; $custom-light: #b874ca; $custom-dark: #000000;
JSON
{
"hex": "#9534b2",
"rgb": {
"r": 149,
"g": 52,
"b": 178
},
"hsl": {
"h": 286.19,
"s": 54.783,
"l": 45.098
},
"oklch": {
"l": 0.5197,
"c": 0.19999,
"h": 317.3
},
"luminance": 0.1206
}Semantic roles & 50–950 ramp
primary
#9534B2
secondary
#8DC57D
accent
#DE4A6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82