#B541AE#B541AE
#B541AE is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.195 H 330.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B541AE |
|---|---|
| RGB | rgb(181, 65, 174) |
| HSL | hsl(304, 47%, 48%) |
| HSV | hsv(304, 64%, 71%) |
| CMYK | cmyk(0%, 64.1%, 3.9%, 29%) |
| CIE-LAB | lab(47.83, 59.86, -35.24) |
| CIE-LCH | lch(47.83, 69.46, 329.51°) |
| OKLab | oklab(57.57% 0.1696 -0.0969) |
| OKLCH | oklch(57.57% 0.195 330.3) |
| XYZ | xyz(28.5862, 16.6624, 41.7467) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.57
Ugly Purple
#A442A0
ΔE00 3.64
Medium Purple
#9E43A2
ΔE00 4.51
Pinky Purple
#C94CBE
ΔE00 5.51
Barney
#AC1DB8
ΔE00 6.42
Purply
#983FB2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B541AE #41B548
analogous
#8241B5 #B541AE #B54174
triadic
#B541AE #AEB541 #41AEB5
tetradic
#B541AE #B58241 #41B548 #4174B5
square
#B541AE #B58241 #41B548 #4174B5
split-complementary
#B541AE #74B541 #41B582
monochromatic
#5B2157 #883183 #B541AE #C96AC4 #DA97D6
Accessibility & contrast
On white
4.85
#B541AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#B541AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B541AE
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B541AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B541AE | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#BC4E72
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b541ae; /* rgb */ color: rgb(181, 65, 174); /* oklch */ color: oklch(57.6% 0.195 330.3);
Tailwind
colors: {
custom: {
50: '#ce7ec6',
500: '#b541ae',
950: '#000000',
},
}SCSS
$custom: #b541ae; $custom-light: #ce7ec6; $custom-dark: #000000;
JSON
{
"hex": "#b541ae",
"rgb": {
"r": 181,
"g": 65,
"b": 174
},
"hsl": {
"h": 303.621,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.57566,
"c": 0.19535,
"h": 330.3
},
"luminance": 0.1666
}Semantic roles & 50–950 ramp
primary
#B541AE
secondary
#8CC590
accent
#D75951
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82