#9546B2#9546B2
#9546B2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.1% C 0.176 H 315.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9546B2 |
|---|---|
| RGB | rgb(149, 70, 178) |
| HSL | hsl(284, 44%, 49%) |
| HSV | hsv(284, 61%, 70%) |
| CMYK | cmyk(16.3%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(44.21, 50.32, -43.62) |
| CIE-LCH | lch(44.21, 66.59, 319.08°) |
| OKLab | oklab(54.06% 0.1262 -0.1221) |
| OKLCH | oklch(54.06% 0.176 315.9) |
| XYZ | xyz(22.6192, 13.9850, 43.6187) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.43
Medium Purple
#9E43A2
ΔE00 4.09
Darkorchid
#9932CC
ΔE00 5.15
Ugly Purple
#A442A0
ΔE00 5.37
Barney
#AC1DB8
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9546B2 #63B246
analogous
#5F46B2 #9546B2 #B24699
triadic
#9546B2 #B29546 #46B295
tetradic
#9546B2 #B25F46 #63B246 #4699B2
square
#9546B2 #B25F46 #63B246 #4699B2
split-complementary
#9546B2 #99B246 #46B25F
monochromatic
#4B235A #703586 #9546B2 #AF6FC6 #C79BD8
Accessibility & contrast
On white
5.53
#9546B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#9546B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9546B2
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9546B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9546B2 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#935975
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9546b2; /* rgb */ color: rgb(149, 70, 178); /* oklch */ color: oklch(54.1% 0.176 315.9);
Tailwind
colors: {
custom: {
50: '#b77ec9',
500: '#9546b2',
950: '#000000',
},
}SCSS
$custom: #9546b2; $custom-light: #b77ec9; $custom-dark: #000000;
JSON
{
"hex": "#9546b2",
"rgb": {
"r": 149,
"g": 70,
"b": 178
},
"hsl": {
"h": 283.889,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.54059,
"c": 0.1756,
"h": 315.9
},
"luminance": 0.13984
}Semantic roles & 50–950 ramp
primary
#9546B2
secondary
#9EC490
accent
#D35577
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82