#BB2AB8#BB2AB8

#BB2AB8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.232 H 329.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB2AB8
RGBrgb(187, 42, 184)
HSLhsl(301, 63%, 45%)
HSVhsv(301, 78%, 73%)
CMYKcmyk(0%, 77.5%, 1.6%, 26.7%)
CIE-LABlab(46.56, 70.69, -43.06)
CIE-LCHlch(46.56, 82.77, 328.65°)
OKLaboklab(57.01% 0.1987 -0.1193)
OKLCHoklch(57.01% 0.232 329)
XYZxyz(29.9730, 15.6837, 46.7867)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AB8 #2ABB2D
analogous
#752ABB #BB2AB8 #BB2A70
triadic
#BB2AB8 #B8BB2A #2AB8BB
tetradic
#BB2AB8 #BB752A #2ABB2D #2A70BB
square
#BB2AB8 #BB752A #2ABB2D #2A70BB
split-complementary
#BB2AB8 #70BB2A #2ABB75
monochromatic
#571456 #891F87 #BB2AB8 #D74CD4 #E27DE0

Accessibility & contrast

On white

5.08
#BB2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BB2AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AB8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AB8#FFFFFF#000000##FFFFFF
##BB2AB81.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BC
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#C24171
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2ab8;
/* rgb */ color: rgb(187, 42, 184);
/* oklch */ color: oklch(57.0% 0.232 329.0);
Tailwind
colors: {
  custom: {
    50: '#d475ce',
    500: '#bb2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ab8;
$custom-light: #d475ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ab8",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 301.241,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.23177,
    "h": 329
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#BB2AB8
secondary
#76CA78
accent
#E64541
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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