#BB21AE#BB21AE

#BB21AE is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.232 H 332.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BB21AE
RGBrgb(187, 33, 174)
HSLhsl(305, 70%, 43%)
HSVhsv(305, 82%, 73%)
CMYKcmyk(0%, 82.4%, 7%, 26.7%)
CIE-LABlab(45.24, 71.41, -39.27)
CIE-LCHlch(45.24, 81.49, 331.19°)
OKLaboklab(55.89% 0.2053 -0.1082)
OKLCHoklch(55.89% 0.232 332.2)
XYZxyz(28.6775, 14.7110, 41.3653)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB21AE #21BB2E
analogous
#7B21BB #BB21AE #BB2161
triadic
#BB21AE #AEBB21 #21AEBB
tetradic
#BB21AE #BB7B21 #21BB2E #2161BB
square
#BB21AE #BB7B21 #21BB2E #2161BB
split-complementary
#BB21AE #61BB21 #21BB7B
monochromatic
#530F4D #87187E #BB21AE #DD3DCF #E671DC

Accessibility & contrast

On white

5.33
#BB21AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BB21AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB21AE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB21AE#FFFFFF#000000##FFFFFF
##BB21AE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB2
Deuteranopia (green-blind)
#5972AB
Tritanopia (blue-blind)
#C33769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb21ae;
/* rgb */ color: rgb(187, 33, 174);
/* oklch */ color: oklch(55.9% 0.232 332.2);
Tailwind
colors: {
  custom: {
    50: '#d472c6',
    500: '#bb21ae',
    950: '#000000',
  },
}
SCSS
$custom: #bb21ae;
$custom-light: #d472c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb21ae",
  "rgb": {
    "r": 187,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 305.065,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.23205,
    "h": 332.2
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB21AE

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

Preview Lab → · Contrast checker → · Palette generator →

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