#BB20AD#BB20AD

#BB20AD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.8% C 0.232 H 332.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BB20AD
RGBrgb(187, 32, 173)
HSLhsl(305, 71%, 43%)
HSVhsv(305, 83%, 73%)
CMYKcmyk(0%, 82.9%, 7.5%, 26.7%)
CIE-LABlab(45.11, 71.48, -38.89)
CIE-LCHlch(45.11, 81.37, 331.45°)
OKLaboklab(55.78% 0.2059 -0.1071)
OKLCHoklch(55.78% 0.232 332.5)
XYZxyz(28.5530, 14.6175, 40.8447)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20AD #20BB2E
analogous
#7B20BB #BB20AD #BB2060
triadic
#BB20AD #ADBB20 #20ADBB
tetradic
#BB20AD #BB7B20 #20BB2E #2060BB
square
#BB20AD #BB7B20 #20BB2E #2060BB
split-complementary
#BB20AD #60BB20 #20BB7B
monochromatic
#520E4C #87177D #BB20AD #DD3BCF #E66FDC

Accessibility & contrast

On white

5.35
#BB20AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB20AD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20AD#FFFFFF#000000##FFFFFF
##BB20AD1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105DB1
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#C33568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb20ad;
/* rgb */ color: rgb(187, 32, 173);
/* oklch */ color: oklch(55.8% 0.232 332.5);
Tailwind
colors: {
  custom: {
    50: '#d471c6',
    500: '#bb20ad',
    950: '#000000',
  },
}
SCSS
$custom: #bb20ad;
$custom-light: #d471c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20ad",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 305.419,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5578,
    "c": 0.2321,
    "h": 332.5
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#BB20AD
secondary
#6ACD73
accent
#EE4A3A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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