#BB2AA4#BB2AA4

#BB2AA4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.218 H 335.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB2AA4
RGBrgb(187, 42, 164)
HSLhsl(310, 63%, 45%)
HSVhsv(310, 78%, 73%)
CMYKcmyk(0%, 77.5%, 12.3%, 26.7%)
CIE-LABlab(45.50, 67.69, -32.92)
CIE-LCHlch(45.50, 75.27, 334.07°)
OKLaboklab(55.91% 0.1983 -0.0899)
OKLCHoklch(55.91% 0.218 335.6)
XYZxyz(28.0227, 14.9036, 36.5156)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AA4 #2ABB41
analogous
#892ABB #BB2AA4 #BB2A5C
triadic
#BB2AA4 #A4BB2A #2AA4BB
tetradic
#BB2AA4 #BB892A #2ABB41 #2A5CBB
square
#BB2AA4 #BB892A #2ABB41 #2A5CBB
split-complementary
#BB2AA4 #5CBB2A #2ABB89
monochromatic
#57144C #891F78 #BB2AA4 #D74CC1 #E27DD2

Accessibility & contrast

On white

5.28
#BB2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BB2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AA4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AA4#FFFFFF#000000##FFFFFF
##BB2AA41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#C53665
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2aa4;
/* rgb */ color: rgb(187, 42, 164);
/* oklch */ color: oklch(55.9% 0.218 335.6);
Tailwind
colors: {
  custom: {
    50: '#d474bf',
    500: '#bb2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2aa4;
$custom-light: #d474bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2aa4",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 309.517,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.2177,
    "h": 335.6
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#BB2AA4
secondary
#76CA84
accent
#E65C41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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