#B545AB#B545AB
#B545AB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.9% C 0.187 H 331.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B545AB |
|---|---|
| RGB | rgb(181, 69, 171) |
| HSL | hsl(305, 45%, 49%) |
| HSV | hsv(305, 62%, 71%) |
| CMYK | cmyk(0%, 61.9%, 5.5%, 29%) |
| CIE-LAB | lab(48.29, 57.69, -32.76) |
| CIE-LCH | lch(48.29, 66.35, 330.41°) |
| OKLab | oklab(57.85% 0.1645 -0.0898) |
| OKLCH | oklch(57.85% 0.187 331.4) |
| XYZ | xyz(28.5348, 17.0223, 40.3029) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.61
Ugly Purple
#A442A0
ΔE00 3.78
Medium Purple
#9E43A2
ΔE00 4.80
Pinky Purple
#C94CBE
ΔE00 5.20
Purply
#983FB2
ΔE00 7.23
Barney
#AC1DB8
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B545AB #45B54F
analogous
#8745B5 #B545AB #B54573
triadic
#B545AB #ABB545 #45ABB5
tetradic
#B545AB #B58745 #45B54F #4573B5
square
#B545AB #B58745 #45B54F #4573B5
split-complementary
#B545AB #73B545 #45B587
monochromatic
#5C2357 #893481 #B545AB #C86FC0 #D99BD4
Accessibility & contrast
On white
4.77
#B545AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#B545AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B545AB
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B545AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B545AB | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F69AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#BC5072
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b545ab; /* rgb */ color: rgb(181, 69, 171); /* oklch */ color: oklch(57.9% 0.187 331.4);
Tailwind
colors: {
custom: {
50: '#ce80c4',
500: '#b545ab',
950: '#000000',
},
}SCSS
$custom: #b545ab; $custom-light: #ce80c4; $custom-dark: #000000;
JSON
{
"hex": "#b545ab",
"rgb": {
"r": 181,
"g": 69,
"b": 171
},
"hsl": {
"h": 305.357,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.5785,
"c": 0.18743,
"h": 331.4
},
"luminance": 0.1702
}Semantic roles & 50–950 ramp
primary
#B545AB
secondary
#91C595
accent
#D55F53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81