#BB20A6#BB20A6

#BB20A6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.227 H 334.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB20A6
RGBrgb(187, 32, 166)
HSLhsl(308, 71%, 43%)
HSVhsv(308, 83%, 73%)
CMYKcmyk(0%, 82.9%, 11.2%, 26.7%)
CIE-LABlab(44.74, 70.48, -35.31)
CIE-LCHlch(44.74, 78.83, 333.39°)
OKLaboklab(55.4% 0.2058 -0.0968)
OKLCHoklch(55.4% 0.227 334.8)
XYZxyz(27.8933, 14.3536, 37.3705)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB20A6 #20BB35
analogous
#8220BB #BB20A6 #BB2058
triadic
#BB20A6 #A6BB20 #20A6BB
tetradic
#BB20A6 #BB8220 #20BB35 #2058BB
square
#BB20A6 #BB8220 #20BB35 #2058BB
split-complementary
#BB20A6 #58BB20 #20BB82
monochromatic
#520E49 #871778 #BB20A6 #DD3BC7 #E66FD6

Accessibility & contrast

On white

5.43
#BB20A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BB20A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB20A6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB20A6#FFFFFF#000000##FFFFFF
##BB20A61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CA9
Deuteranopia (green-blind)
#5C72A3
Tritanopia (blue-blind)
#C43164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb20a6;
/* rgb */ color: rgb(187, 32, 166);
/* oklch */ color: oklch(55.4% 0.227 334.8);
Tailwind
colors: {
  custom: {
    50: '#d471c1',
    500: '#bb20a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb20a6;
$custom-light: #d471c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb20a6",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 308.129,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.22741,
    "h": 334.8
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#BB20A6
secondary
#6ACD77
accent
#EE533A
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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