#B148AA#B148AA
#B148AA is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.180 H 330.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B148AA |
|---|---|
| RGB | rgb(177, 72, 170) |
| HSL | hsl(304, 42%, 49%) |
| HSV | hsv(304, 59%, 69%) |
| CMYK | cmyk(0%, 59.3%, 4%, 30.6%) |
| CIE-LAB | lab(48.12, 55.16, -32.48) |
| CIE-LCH | lch(48.12, 64.01, 329.50°) |
| OKLab | oklab(57.59% 0.1562 -0.0891) |
| OKLCH | oklch(57.59% 0.18 330.3) |
| XYZ | xyz(27.7043, 16.8860, 39.8225) |
| Luminance | 0.1688 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.39
Purpley Pink
#C83CB9
ΔE00 4.25
Medium Purple
#9E43A2
ΔE00 4.32
Pinky Purple
#C94CBE
ΔE00 5.58
Purply
#983FB2
ΔE00 6.87
Barney
#AC1DB8
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B148AA #48B14F
analogous
#8448B1 #B148AA #B14876
triadic
#B148AA #AAB148 #48AAB1
tetradic
#B148AA #B18448 #48B14F #4876B1
square
#B148AA #B18448 #48B14F #4876B1
split-complementary
#B148AA #76B148 #48B184
monochromatic
#5A2556 #853680 #B148AA #C571C0 #D79CD3
Accessibility & contrast
On white
4.80
#B148AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#B148AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B148AA
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B148AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B148AA | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#B75272
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b148aa; /* rgb */ color: rgb(177, 72, 170); /* oklch */ color: oklch(57.6% 0.180 330.3);
Tailwind
colors: {
custom: {
50: '#cb81c3',
500: '#b148aa',
950: '#000000',
},
}SCSS
$custom: #b148aa; $custom-light: #cb81c3; $custom-dark: #000000;
JSON
{
"hex": "#b148aa",
"rgb": {
"r": 177,
"g": 72,
"b": 170
},
"hsl": {
"h": 304,
"s": 42.169,
"l": 48.824
},
"oklch": {
"l": 0.57589,
"c": 0.17984,
"h": 330.3
},
"luminance": 0.16884
}Semantic roles & 50–950 ramp
primary
#B148AA
secondary
#91C395
accent
#D25E56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81