#BB20A8#BB20A8

#BB20A8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.229 H 334.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BB20A8
RGBrgb(187, 32, 168)
HSLhsl(307, 71%, 43%)
HSVhsv(307, 83%, 73%)
CMYKcmyk(0%, 82.9%, 10.2%, 26.7%)
CIE-LABlab(44.84, 70.76, -36.34)
CIE-LCHlch(44.84, 79.55, 332.82°)
OKLaboklab(55.51% 0.2059 -0.0997)
OKLCHoklch(55.51% 0.229 334.2)
XYZxyz(28.0782, 14.4275, 38.3442)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20A8 #20BB33
analogous
#8020BB #BB20A8 #BB205A
triadic
#BB20A8 #A8BB20 #20A8BB
tetradic
#BB20A8 #BB8020 #20BB33 #205ABB
square
#BB20A8 #BB8020 #20BB33 #205ABB
split-complementary
#BB20A8 #5ABB20 #20BB80
monochromatic
#520E4A #871779 #BB20A8 #DD3BC9 #E66FD8

Accessibility & contrast

On white

5.41
#BB20A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BB20A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB20A8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20A8#FFFFFF#000000##FFFFFF
##BB20A81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAB
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#C43265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb20a8;
/* rgb */ color: rgb(187, 32, 168);
/* oklch */ color: oklch(55.5% 0.229 334.2);
Tailwind
colors: {
  custom: {
    50: '#d471c2',
    500: '#bb20a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb20a8;
$custom-light: #d471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20a8",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 307.355,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.22874,
    "h": 334.2
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#BB20A8
secondary
#6ACD76
accent
#EE503A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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