#BB20AB#BB20AB

#BB20AB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.7% C 0.231 H 333.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BB20AB
RGBrgb(187, 32, 171)
HSLhsl(306, 71%, 43%)
HSVhsv(306, 83%, 73%)
CMYKcmyk(0%, 82.9%, 8.6%, 26.7%)
CIE-LABlab(45.00, 71.19, -37.87)
CIE-LCHlch(45.00, 80.64, 331.99°)
OKLaboklab(55.67% 0.2059 -0.1041)
OKLCHoklch(55.67% 0.231 333.2)
XYZxyz(28.3609, 14.5406, 39.8331)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20AB #20BB30
analogous
#7E20BB #BB20AB #BB205D
triadic
#BB20AB #ABBB20 #20ABBB
tetradic
#BB20AB #BB7E20 #20BB30 #205DBB
square
#BB20AB #BB7E20 #20BB30 #205DBB
split-complementary
#BB20AB #5DBB20 #20BB7E
monochromatic
#520E4B #87177B #BB20AB #DD3BCD #E66FDA

Accessibility & contrast

On white

5.37
#BB20AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BB20AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB20AB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20AB#FFFFFF#000000##FFFFFF
##BB20AB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAE
Deuteranopia (green-blind)
#5A72A8
Tritanopia (blue-blind)
#C43467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb20ab;
/* rgb */ color: rgb(187, 32, 171);
/* oklch */ color: oklch(55.7% 0.231 333.2);
Tailwind
colors: {
  custom: {
    50: '#d471c4',
    500: '#bb20ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb20ab;
$custom-light: #d471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20ab",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 306.194,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.23075,
    "h": 333.2
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#BB20AB
secondary
#6ACD74
accent
#EE4D3A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB20AB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BB20AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva