#BB20A4#BB20A4

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

Color values

HEX#BB20A4
RGBrgb(187, 32, 164)
HSLhsl(309, 71%, 43%)
HSVhsv(309, 83%, 73%)
CMYKcmyk(0%, 82.9%, 12.3%, 26.7%)
CIE-LABlab(44.63, 70.20, -34.28)
CIE-LCHlch(44.63, 78.12, 333.97°)
OKLaboklab(55.29% 0.2057 -0.0938)
OKLCHoklch(55.29% 0.226 335.5)
XYZxyz(27.7113, 14.2808, 36.4118)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20A4 #20BB37
analogous
#8420BB #BB20A4 #BB2057
triadic
#BB20A4 #A4BB20 #20A4BB
tetradic
#BB20A4 #BB8420 #20BB37 #2057BB
square
#BB20A4 #BB8420 #20BB37 #2057BB
split-complementary
#BB20A4 #57BB20 #20BB84
monochromatic
#520E48 #871776 #BB20A4 #DD3BC5 #E66FD5

Accessibility & contrast

On white

5.45
#BB20A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB20A4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20A4#FFFFFF#000000##FFFFFF
##BB20A41.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#5D71A1
Tritanopia (blue-blind)
#C53063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb20a4;
/* rgb */ color: rgb(187, 32, 164);
/* oklch */ color: oklch(55.3% 0.226 335.5);
Tailwind
colors: {
  custom: {
    50: '#d471bf',
    500: '#bb20a4',
    950: '#000000',
  },
}
SCSS
$custom: #bb20a4;
$custom-light: #d471bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20a4",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 308.903,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.2261,
    "h": 335.5
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#BB20A4
secondary
#6ACD79
accent
#EE553A
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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