#B545AF#B545AF
#B545AF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.191 H 329.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B545AF |
|---|---|
| RGB | rgb(181, 69, 175) |
| HSL | hsl(303, 45%, 49%) |
| HSV | hsv(303, 62%, 71%) |
| CMYK | cmyk(0%, 61.9%, 3.3%, 29%) |
| CIE-LAB | lab(48.48, 58.36, -34.80) |
| CIE-LCH | lch(48.48, 67.95, 329.19°) |
| OKLab | oklab(58.06% 0.1649 -0.0957) |
| OKLCH | oklch(58.06% 0.191 329.9) |
| XYZ | xyz(28.9218, 17.1772, 42.3413) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.37
Ugly Purple
#A442A0
ΔE00 4.02
Medium Purple
#9E43A2
ΔE00 4.84
Pinky Purple
#C94CBE
ΔE00 4.95
Purply
#983FB2
ΔE00 6.88
Barney
#AC1DB8
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B545AF #45B54B
analogous
#8345B5 #B545AF #B54577
triadic
#B545AF #AFB545 #45AFB5
tetradic
#B545AF #B58345 #45B54B #4577B5
square
#B545AF #B58345 #45B54B #4577B5
split-complementary
#B545AF #77B545 #45B583
monochromatic
#5C2359 #893484 #B545AF #C86FC3 #D99BD6
Accessibility & contrast
On white
4.74
#B545AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#B545AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B545AF
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B545AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B545AF | 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)
#3C69B2
Deuteranopia (green-blind)
#6279AC
Tritanopia (blue-blind)
#BB5174
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b545af; /* rgb */ color: rgb(181, 69, 175); /* oklch */ color: oklch(58.1% 0.191 329.9);
Tailwind
colors: {
custom: {
50: '#ce80c7',
500: '#b545af',
950: '#000000',
},
}SCSS
$custom: #b545af; $custom-light: #ce80c7; $custom-dark: #000000;
JSON
{
"hex": "#b545af",
"rgb": {
"r": 181,
"g": 69,
"b": 175
},
"hsl": {
"h": 303.214,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.58055,
"c": 0.19068,
"h": 329.9
},
"luminance": 0.17175
}Semantic roles & 50–950 ramp
primary
#B545AF
secondary
#91C593
accent
#D55A53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82