#BB20AA#BB20AA

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

Color values

HEX#BB20AA
RGBrgb(187, 32, 170)
HSLhsl(307, 71%, 43%)
HSVhsv(307, 83%, 73%)
CMYKcmyk(0%, 82.9%, 9.1%, 26.7%)
CIE-LABlab(44.95, 71.05, -37.36)
CIE-LCHlch(44.95, 80.27, 332.26°)
OKLaboklab(55.61% 0.2059 -0.1027)
OKLCHoklch(55.61% 0.23 333.5)
XYZxyz(28.2660, 14.5026, 39.3330)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20AA #20BB31
analogous
#7F20BB #BB20AA #BB205C
triadic
#BB20AA #AABB20 #20AABB
tetradic
#BB20AA #BB7F20 #20BB31 #205CBB
square
#BB20AA #BB7F20 #20BB31 #205CBB
split-complementary
#BB20AA #5CBB20 #20BB7F
monochromatic
#520E4B #87177A #BB20AA #DD3BCC #E66FD9

Accessibility & contrast

On white

5.38
#BB20AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BB20AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB20AA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20AA#FFFFFF#000000##FFFFFF
##BB20AA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#C43467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb20aa;
/* rgb */ color: rgb(187, 32, 170);
/* oklch */ color: oklch(55.6% 0.230 333.5);
Tailwind
colors: {
  custom: {
    50: '#d471c4',
    500: '#bb20aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb20aa;
$custom-light: #d471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20aa",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 306.581,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.23008,
    "h": 333.5
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#BB20AA
secondary
#6ACD75
accent
#EE4E3A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB20AA

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

Preview Lab → · Contrast checker → · Palette generator →

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