#BB2AB7#BB2AB7

#BB2AB7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.231 H 329.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB2AB7
RGBrgb(187, 42, 183)
HSLhsl(302, 63%, 45%)
HSVhsv(302, 78%, 73%)
CMYKcmyk(0%, 77.5%, 2.1%, 26.7%)
CIE-LABlab(46.50, 70.53, -42.57)
CIE-LCHlch(46.50, 82.38, 328.89°)
OKLaboklab(56.95% 0.1988 -0.1178)
OKLCHoklch(56.95% 0.231 329.3)
XYZxyz(29.8685, 15.6419, 46.2366)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AB7 #2ABB2E
analogous
#762ABB #BB2AB7 #BB2A6F
triadic
#BB2AB7 #B7BB2A #2AB7BB
tetradic
#BB2AB7 #BB762A #2ABB2E #2A6FBB
square
#BB2AB7 #BB762A #2ABB2E #2A6FBB
split-complementary
#BB2AB7 #6FBB2A #2ABB76
monochromatic
#571455 #891F86 #BB2AB7 #D74CD3 #E27DDF

Accessibility & contrast

On white

5.09
#BB2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BB2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AB7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AB7#FFFFFF#000000##FFFFFF
##BB2AB71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A62BB
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#C24170
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2ab7;
/* rgb */ color: rgb(187, 42, 183);
/* oklch */ color: oklch(57.0% 0.231 329.3);
Tailwind
colors: {
  custom: {
    50: '#d475cd',
    500: '#bb2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ab7;
$custom-light: #d475cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ab7",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 301.655,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.23104,
    "h": 329.3
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#BB2AB7
secondary
#76CA79
accent
#E64641
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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