#B545AA#B545AA
#B545AA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.187 H 331.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B545AA |
|---|---|
| RGB | rgb(181, 69, 170) |
| HSL | hsl(306, 45%, 49%) |
| HSV | hsv(306, 62%, 71%) |
| CMYK | cmyk(0%, 61.9%, 6.1%, 29%) |
| CIE-LAB | lab(48.24, 57.53, -32.24) |
| CIE-LCH | lch(48.24, 65.95, 330.73°) |
| OKLab | oklab(57.8% 0.1644 -0.0883) |
| OKLCH | oklch(57.8% 0.187 331.7) |
| XYZ | xyz(28.4398, 16.9844, 39.8028) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.69
Ugly Purple
#A442A0
ΔE00 3.75
Medium Purple
#9E43A2
ΔE00 4.81
Pinky Purple
#C94CBE
ΔE00 5.28
Purply
#983FB2
ΔE00 7.34
Barney
#AC1DB8
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B545AA #45B550
analogous
#8845B5 #B545AA #B54572
triadic
#B545AA #AAB545 #45AAB5
tetradic
#B545AA #B58845 #45B550 #4572B5
square
#B545AA #B58845 #45B550 #4572B5
split-complementary
#B545AA #72B545 #45B588
monochromatic
#5C2357 #893480 #B545AA #C86FBF #D99BD3
Accessibility & contrast
On white
4.78
#B545AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#B545AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B545AA
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B545AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B545AA | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#BC4F71
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b545aa; /* rgb */ color: rgb(181, 69, 170); /* oklch */ color: oklch(57.8% 0.187 331.7);
Tailwind
colors: {
custom: {
50: '#ce80c3',
500: '#b545aa',
950: '#000000',
},
}SCSS
$custom: #b545aa; $custom-light: #ce80c3; $custom-dark: #000000;
JSON
{
"hex": "#b545aa",
"rgb": {
"r": 181,
"g": 69,
"b": 170
},
"hsl": {
"h": 305.893,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.578,
"c": 0.18662,
"h": 331.7
},
"luminance": 0.16982
}Semantic roles & 50–950 ramp
primary
#B545AA
secondary
#91C596
accent
#D56053
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81