#B545AE#B545AE
#B545AE is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 330.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B545AE |
|---|---|
| RGB | rgb(181, 69, 174) |
| HSL | hsl(304, 45%, 49%) |
| HSV | hsv(304, 62%, 71%) |
| CMYK | cmyk(0%, 61.9%, 3.9%, 29%) |
| CIE-LAB | lab(48.43, 58.19, -34.29) |
| CIE-LCH | lch(48.43, 67.55, 329.49°) |
| OKLab | oklab(58% 0.1648 -0.0942) |
| OKLCH | oklch(58% 0.19 330.2) |
| XYZ | xyz(28.8240, 17.1380, 41.8260) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.42
Ugly Purple
#A442A0
ΔE00 3.94
Medium Purple
#9E43A2
ΔE00 4.82
Pinky Purple
#C94CBE
ΔE00 5.00
Purply
#983FB2
ΔE00 6.96
Barney
#AC1DB8
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B545AE #45B54C
analogous
#8445B5 #B545AE #B54576
triadic
#B545AE #AEB545 #45AEB5
tetradic
#B545AE #B58445 #45B54C #4576B5
square
#B545AE #B58445 #45B54C #4576B5
split-complementary
#B545AE #76B545 #45B584
monochromatic
#5C2359 #893483 #B545AE #C86FC3 #D99BD5
Accessibility & contrast
On white
4.74
#B545AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#B545AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B545AE
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B545AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B545AE | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#BC5173
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b545ae; /* rgb */ color: rgb(181, 69, 174); /* oklch */ color: oklch(58.0% 0.190 330.2);
Tailwind
colors: {
custom: {
50: '#ce80c6',
500: '#b545ae',
950: '#000000',
},
}SCSS
$custom: #b545ae; $custom-light: #ce80c6; $custom-dark: #000000;
JSON
{
"hex": "#b545ae",
"rgb": {
"r": 181,
"g": 69,
"b": 174
},
"hsl": {
"h": 303.75,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.58003,
"c": 0.18986,
"h": 330.2
},
"luminance": 0.17136
}Semantic roles & 50–950 ramp
primary
#B545AE
secondary
#91C594
accent
#D55B53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82