#BB21AD#BB21AD

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

Color values

HEX#BB21AD
RGBrgb(187, 33, 173)
HSLhsl(305, 70%, 43%)
HSVhsv(305, 82%, 73%)
CMYKcmyk(0%, 82.4%, 7.5%, 26.7%)
CIE-LABlab(45.18, 71.26, -38.77)
CIE-LCHlch(45.18, 81.12, 331.45°)
OKLaboklab(55.83% 0.2053 -0.1067)
OKLCHoklch(55.83% 0.231 332.5)
XYZxyz(28.5804, 14.6721, 40.8538)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB21AD #21BB2F
analogous
#7C21BB #BB21AD #BB2160
triadic
#BB21AD #ADBB21 #21ADBB
tetradic
#BB21AD #BB7C21 #21BB2F #2160BB
square
#BB21AD #BB7C21 #21BB2F #2160BB
split-complementary
#BB21AD #60BB21 #21BB7C
monochromatic
#530F4D #87187D #BB21AD #DD3DCE #E671DB

Accessibility & contrast

On white

5.34
#BB21AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BB21AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB21AD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB21AD#FFFFFF#000000##FFFFFF
##BB21AD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb21ad;
/* rgb */ color: rgb(187, 33, 173);
/* oklch */ color: oklch(55.8% 0.231 332.5);
Tailwind
colors: {
  custom: {
    50: '#d472c6',
    500: '#bb21ad',
    950: '#000000',
  },
}
SCSS
$custom: #bb21ad;
$custom-light: #d472c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb21ad",
  "rgb": {
    "r": 187,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 305.455,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.23137,
    "h": 332.5
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#BB21AD
secondary
#6BCC74
accent
#ED4B3B
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB21AD

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

Preview Lab → · Contrast checker → · Palette generator →

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