#BB20A5#BB20A5

#BB20A5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.227 H 335.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BB20A5
RGBrgb(187, 32, 165)
HSLhsl(309, 71%, 43%)
HSVhsv(309, 83%, 73%)
CMYKcmyk(0%, 82.9%, 11.8%, 26.7%)
CIE-LABlab(44.68, 70.34, -34.80)
CIE-LCHlch(44.68, 78.47, 333.68°)
OKLaboklab(55.34% 0.2058 -0.0953)
OKLCHoklch(55.34% 0.227 335.2)
XYZxyz(27.8020, 14.3170, 36.8893)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20A5 #20BB36
analogous
#8320BB #BB20A5 #BB2058
triadic
#BB20A5 #A5BB20 #20A5BB
tetradic
#BB20A5 #BB8320 #20BB36 #2058BB
square
#BB20A5 #BB8320 #20BB36 #2058BB
split-complementary
#BB20A5 #58BB20 #20BB83
monochromatic
#520E49 #871777 #BB20A5 #DD3BC6 #E66FD5

Accessibility & contrast

On white

5.44
#BB20A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BB20A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB20A5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20A5#FFFFFF#000000##FFFFFF
##BB20A51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#C53064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb20a5;
/* rgb */ color: rgb(187, 32, 165);
/* oklch */ color: oklch(55.3% 0.227 335.2);
Tailwind
colors: {
  custom: {
    50: '#d471c0',
    500: '#bb20a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb20a5;
$custom-light: #d471c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20a5",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 308.516,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.22675,
    "h": 335.2
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#BB20A5
secondary
#6ACD78
accent
#EE543A
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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