#BB20AC#BB20AC

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

Color values

HEX#BB20AC
RGBrgb(187, 32, 172)
HSLhsl(306, 71%, 43%)
HSVhsv(306, 83%, 73%)
CMYKcmyk(0%, 82.9%, 8%, 26.7%)
CIE-LABlab(45.05, 71.34, -38.38)
CIE-LCHlch(45.05, 81.00, 331.72°)
OKLaboklab(55.72% 0.2059 -0.1056)
OKLCHoklch(55.72% 0.231 332.8)
XYZxyz(28.4566, 14.5789, 40.3370)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20AC #20BB2F
analogous
#7C20BB #BB20AC #BB205F
triadic
#BB20AC #ACBB20 #20ACBB
tetradic
#BB20AC #BB7C20 #20BB2F #205FBB
square
#BB20AC #BB7C20 #20BB2F #205FBB
split-complementary
#BB20AC #5FBB20 #20BB7C
monochromatic
#520E4C #87177C #BB20AC #DD3BCE #E66FDB

Accessibility & contrast

On white

5.36
#BB20AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BB20AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB20AC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20AC#FFFFFF#000000##FFFFFF
##BB20AC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#C43568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb20ac;
/* rgb */ color: rgb(187, 32, 172);
/* oklch */ color: oklch(55.7% 0.231 332.8);
Tailwind
colors: {
  custom: {
    50: '#d471c5',
    500: '#bb20ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb20ac;
$custom-light: #d471c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20ac",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 305.806,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55724,
    "c": 0.23143,
    "h": 332.8
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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