#BB1FAB#BB1FAB
#BB1FAB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.231 H 333.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #BB1FAB |
|---|---|
| RGB | rgb(187, 31, 171) |
| HSL | hsl(306, 72%, 43%) |
| HSV | hsv(306, 83%, 73%) |
| CMYK | cmyk(0%, 83.4%, 8.6%, 26.7%) |
| CIE-LAB | lab(44.92, 71.41, -37.99) |
| CIE-LCH | lch(44.92, 80.88, 331.99°) |
| OKLab | oklab(55.62% 0.2065 -0.1045) |
| OKLCH | oklch(55.62% 0.231 333.2) |
| XYZ | xyz(28.3344, 14.4876, 39.8243) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 4.36
Ugly Purple
#A442A0
ΔE00 4.89
Medium Purple
#9E43A2
ΔE00 5.63
Purpley Pink
#C83CB9
ΔE00 5.76
Barney Purple
#A00498
ΔE00 6.71
Purply
#983FB2
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB1FAB #1FBB2F
analogous
#7D1FBB #BB1FAB #BB1F5D
triadic
#BB1FAB #ABBB1F #1FABBB
tetradic
#BB1FAB #BB7D1F #1FBB2F #1F5DBB
square
#BB1FAB #BB7D1F #1FBB2F #1F5DBB
split-complementary
#BB1FAB #5DBB1F #1FBB7D
monochromatic
#520E4B #87167B #BB1FAB #DE39CD #E76EDA
Accessibility & contrast
On white
5.39
#BB1FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#BB1FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB1FAB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB1FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB1FAB | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135CAE
Deuteranopia (green-blind)
#5A72A8
Tritanopia (blue-blind)
#C43467
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #bb1fab; /* rgb */ color: rgb(187, 31, 171); /* oklch */ color: oklch(55.6% 0.231 333.2);
Tailwind
colors: {
custom: {
50: '#d471c4',
500: '#bb1fab',
950: '#000000',
},
}SCSS
$custom: #bb1fab; $custom-light: #d471c4; $custom-dark: #000000;
JSON
{
"hex": "#bb1fab",
"rgb": {
"r": 187,
"g": 31,
"b": 171
},
"hsl": {
"h": 306.154,
"s": 71.56,
"l": 42.745
},
"oklch": {
"l": 0.55616,
"c": 0.23146,
"h": 333.2
},
"luminance": 0.14485
}Semantic roles & 50–950 ramp
primary
#BB1FAB
secondary
#69CD73
accent
#EE4C3A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82