#BB20A9#BB20A9

#BB20A9 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.229 H 333.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BB20A9
RGBrgb(187, 32, 169)
HSLhsl(307, 71%, 43%)
HSVhsv(307, 83%, 73%)
CMYKcmyk(0%, 82.9%, 9.6%, 26.7%)
CIE-LABlab(44.89, 70.90, -36.85)
CIE-LCHlch(44.89, 79.91, 332.54°)
OKLaboklab(55.56% 0.2059 -0.1012)
OKLCHoklch(55.56% 0.229 333.8)
XYZxyz(28.1717, 14.4650, 38.8367)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20A9 #20BB32
analogous
#8020BB #BB20A9 #BB205B
triadic
#BB20A9 #A9BB20 #20A9BB
tetradic
#BB20A9 #BB8020 #20BB32 #205BBB
square
#BB20A9 #BB8020 #20BB32 #205BBB
split-complementary
#BB20A9 #5BBB20 #20BB80
monochromatic
#520E4B #87177A #BB20A9 #DD3BCB #E66FD9

Accessibility & contrast

On white

5.40
#BB20A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BB20A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB20A9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20A9#FFFFFF#000000##FFFFFF
##BB20A91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#C43366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb20a9;
/* rgb */ color: rgb(187, 32, 169);
/* oklch */ color: oklch(55.6% 0.229 333.8);
Tailwind
colors: {
  custom: {
    50: '#d471c3',
    500: '#bb20a9',
    950: '#000000',
  },
}
SCSS
$custom: #bb20a9;
$custom-light: #d471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20a9",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 306.968,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.22941,
    "h": 333.8
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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