#B541AC#B541AC
#B541AC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.194 H 331.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B541AC |
|---|---|
| RGB | rgb(181, 65, 172) |
| HSL | hsl(305, 47%, 48%) |
| HSV | hsv(305, 64%, 71%) |
| CMYK | cmyk(0%, 64.1%, 5%, 29%) |
| CIE-LAB | lab(47.73, 59.53, -34.22) |
| CIE-LCH | lch(47.73, 68.66, 330.11°) |
| OKLab | oklab(57.46% 0.1694 -0.094) |
| OKLCH | oklch(57.46% 0.194 331) |
| XYZ | xyz(28.3926, 16.5850, 40.7275) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.50
Purpley Pink
#C83CB9
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 4.48
Pinky Purple
#C94CBE
ΔE00 5.62
Barney
#AC1DB8
ΔE00 6.59
Purply
#983FB2
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B541AC #41B54A
analogous
#8441B5 #B541AC #B54172
triadic
#B541AC #ACB541 #41ACB5
tetradic
#B541AC #B58441 #41B54A #4172B5
square
#B541AC #B58441 #41B54A #4172B5
split-complementary
#B541AC #72B541 #41B584
monochromatic
#5B2156 #883181 #B541AC #C96AC2 #DA97D4
Accessibility & contrast
On white
4.86
#B541AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#B541AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B541AC
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B541AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B541AC | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3967AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#BC4D71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b541ac; /* rgb */ color: rgb(181, 65, 172); /* oklch */ color: oklch(57.5% 0.194 331.0);
Tailwind
colors: {
custom: {
50: '#ce7ec5',
500: '#b541ac',
950: '#000000',
},
}SCSS
$custom: #b541ac; $custom-light: #ce7ec5; $custom-dark: #000000;
JSON
{
"hex": "#b541ac",
"rgb": {
"r": 181,
"g": 65,
"b": 172
},
"hsl": {
"h": 304.655,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.57462,
"c": 0.19375,
"h": 331
},
"luminance": 0.16583
}Semantic roles & 50–950 ramp
primary
#B541AC
secondary
#8CC591
accent
#D75B51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82