#BB2AB5#BB2AB5

#BB2AB5 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.230 H 330.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BB2AB5
RGBrgb(187, 42, 181)
HSLhsl(302, 63%, 45%)
HSVhsv(302, 78%, 73%)
CMYKcmyk(0%, 77.5%, 3.2%, 26.7%)
CIE-LABlab(46.39, 70.22, -41.57)
CIE-LCHlch(46.39, 81.60, 329.38°)
OKLaboklab(56.84% 0.1988 -0.1149)
OKLCHoklch(56.84% 0.23 330)
XYZxyz(29.6618, 15.5593, 45.1481)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AB5 #2ABB30
analogous
#792ABB #BB2AB5 #BB2A6C
triadic
#BB2AB5 #B5BB2A #2AB5BB
tetradic
#BB2AB5 #BB792A #2ABB30 #2A6CBB
square
#BB2AB5 #BB792A #2ABB30 #2A6CBB
split-complementary
#BB2AB5 #6CBB2A #2ABB79
monochromatic
#571454 #891F85 #BB2AB5 #D74CD1 #E27DDE

Accessibility & contrast

On white

5.11
#BB2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BB2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AB5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AB5#FFFFFF#000000##FFFFFF
##BB2AB51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1062B9
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#C2406F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2ab5;
/* rgb */ color: rgb(187, 42, 181);
/* oklch */ color: oklch(56.8% 0.230 330.0);
Tailwind
colors: {
  custom: {
    50: '#d475cc',
    500: '#bb2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ab5;
$custom-light: #d475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ab5",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 302.483,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.22959,
    "h": 330
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#BB2AB5
secondary
#76CA7A
accent
#E64841
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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