#B546AA#B546AA
#B546AA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.185 H 331.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B546AA |
|---|---|
| RGB | rgb(181, 70, 170) |
| HSL | hsl(306, 44%, 49%) |
| HSV | hsv(306, 61%, 71%) |
| CMYK | cmyk(0%, 61.3%, 6.1%, 29%) |
| CIE-LAB | lab(48.40, 57.10, -32.00) |
| CIE-LCH | lch(48.40, 65.45, 330.73°) |
| OKLab | oklab(57.91% 0.1632 -0.0876) |
| OKLCH | oklch(57.91% 0.185 331.8) |
| XYZ | xyz(28.5019, 17.1084, 39.8235) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.69
Ugly Purple
#A442A0
ΔE00 3.86
Medium Purple
#9E43A2
ΔE00 4.91
Pinky Purple
#C94CBE
ΔE00 5.17
Purply
#983FB2
ΔE00 7.45
Barney
#AC1DB8
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B546AA #46B551
analogous
#8946B5 #B546AA #B54673
triadic
#B546AA #AAB546 #46AAB5
tetradic
#B546AA #B58946 #46B551 #4673B5
square
#B546AA #B58946 #46B551 #4673B5
split-complementary
#B546AA #73B546 #46B589
monochromatic
#5D2457 #893581 #B546AA #C870BF #D99CD3
Accessibility & contrast
On white
4.75
#B546AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#B546AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B546AA
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B546AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B546AA | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#6579A7
Tritanopia (blue-blind)
#BC5071
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b546aa; /* rgb */ color: rgb(181, 70, 170); /* oklch */ color: oklch(57.9% 0.185 331.8);
Tailwind
colors: {
custom: {
50: '#ce80c3',
500: '#b546aa',
950: '#000000',
},
}SCSS
$custom: #b546aa; $custom-light: #ce80c3; $custom-dark: #000000;
JSON
{
"hex": "#b546aa",
"rgb": {
"r": 181,
"g": 70,
"b": 170
},
"hsl": {
"h": 305.946,
"s": 44.223,
"l": 49.216
},
"oklch": {
"l": 0.57914,
"c": 0.1852,
"h": 331.8
},
"luminance": 0.17106
}Semantic roles & 50–950 ramp
primary
#B546AA
secondary
#92C597
accent
#D46154
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81