#BB2BA9#BB2BA9

#BB2BA9 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.220 H 333.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB2BA9
RGBrgb(187, 43, 169)
HSLhsl(308, 63%, 45%)
HSVhsv(308, 77%, 73%)
CMYKcmyk(0%, 77%, 9.6%, 26.7%)
CIE-LABlab(45.85, 68.13, -35.34)
CIE-LCHlch(45.85, 76.75, 332.59°)
OKLaboklab(56.25% 0.1977 -0.0969)
OKLCHoklch(56.25% 0.22 333.9)
XYZxyz(28.5191, 15.1596, 38.9525)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BA9 #2BBB3D
analogous
#852BBB #BB2BA9 #BB2B61
triadic
#BB2BA9 #A9BB2B #2BA9BB
tetradic
#BB2BA9 #BB852B #2BBB3D #2B61BB
square
#BB2BA9 #BB852B #2BBB3D #2B61BB
split-complementary
#BB2BA9 #61BB2B #2BBB85
monochromatic
#57144F #89207C #BB2BA9 #D64DC5 #E27FD5

Accessibility & contrast

On white

5.21
#BB2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BB2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BA9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BA9#FFFFFF#000000##FFFFFF
##BB2BA91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#5E74A6
Tritanopia (blue-blind)
#C43A68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2ba9;
/* rgb */ color: rgb(187, 43, 169);
/* oklch */ color: oklch(56.2% 0.220 333.9);
Tailwind
colors: {
  custom: {
    50: '#d375c3',
    500: '#bb2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ba9;
$custom-light: #d375c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ba9",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 307.5,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.22019,
    "h": 333.9
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#BB2BA9
secondary
#78CA82
accent
#E65742
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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