#9541B9#9541B9
#9541B9 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.190 H 314.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9541B9 |
|---|---|
| RGB | rgb(149, 65, 185) |
| HSL | hsl(282, 48%, 49%) |
| HSV | hsv(282, 65%, 73%) |
| CMYK | cmyk(19.5%, 64.9%, 0%, 27.5%) |
| CIE-LAB | lab(43.76, 54.17, -48.45) |
| CIE-LCH | lch(43.76, 72.67, 318.19°) |
| OKLab | oklab(53.87% 0.1322 -0.1362) |
| OKLCH | oklch(53.87% 0.19 314.1) |
| XYZ | xyz(23.0402, 13.6737, 47.3151) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.54
Darkorchid
#9932CC
ΔE00 3.55
Barney
#AC1DB8
ΔE00 5.29
Medium Purple
#9E43A2
ΔE00 5.32
Ugly Purple
#A442A0
ΔE00 6.53
Vibrant Purple
#AD03DE
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9541B9 #65B941
analogous
#5941B9 #9541B9 #B941A1
triadic
#9541B9 #B99541 #41B995
tetradic
#9541B9 #B95941 #65B941 #41A1B9
square
#9541B9 #B95941 #65B941 #41A1B9
split-complementary
#9541B9 #A1B941 #41B959
monochromatic
#4C215E #71318C #9541B9 #AF6CCB #C799DB
Accessibility & contrast
On white
5.62
#9541B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#9541B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9541B9
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9541B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9541B9 | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0763BD
Deuteranopia (green-blind)
#3C6AB6
Tritanopia (blue-blind)
#925877
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9541b9; /* rgb */ color: rgb(149, 65, 185); /* oklch */ color: oklch(53.9% 0.190 314.1);
Tailwind
colors: {
custom: {
50: '#b87bcf',
500: '#9541b9',
950: '#000000',
},
}SCSS
$custom: #9541b9; $custom-light: #b87bcf; $custom-dark: #000000;
JSON
{
"hex": "#9541b9",
"rgb": {
"r": 149,
"g": 65,
"b": 185
},
"hsl": {
"h": 282,
"s": 48,
"l": 49.02
},
"oklch": {
"l": 0.53867,
"c": 0.18982,
"h": 314.1
},
"luminance": 0.13673
}Semantic roles & 50–950 ramp
primary
#9541B9
secondary
#A0C78F
accent
#D85079
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82