#BB2AB9#BB2AB9

#BB2AB9 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.1% C 0.233 H 328.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BB2AB9
RGBrgb(187, 42, 185)
HSLhsl(301, 63%, 45%)
HSVhsv(301, 78%, 73%)
CMYKcmyk(0%, 77.5%, 1.1%, 26.7%)
CIE-LABlab(46.61, 70.85, -43.56)
CIE-LCHlch(46.61, 83.17, 328.41°)
OKLaboklab(57.07% 0.1987 -0.1207)
OKLCHoklch(57.07% 0.233 328.7)
XYZxyz(30.0782, 15.7258, 47.3407)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AB9 #2ABB2C
analogous
#752ABB #BB2AB9 #BB2A70
triadic
#BB2AB9 #B9BB2A #2AB9BB
tetradic
#BB2AB9 #BB752A #2ABB2C #2A70BB
square
#BB2AB9 #BB752A #2ABB2C #2A70BB
split-complementary
#BB2AB9 #70BB2A #2ABB75
monochromatic
#571456 #891F88 #BB2AB9 #D74CD5 #E27DE1

Accessibility & contrast

On white

5.07
#BB2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2AB9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AB9#FFFFFF#000000##FFFFFF
##BB2AB91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BD
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#C14271
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2ab9;
/* rgb */ color: rgb(187, 42, 185);
/* oklch */ color: oklch(57.1% 0.233 328.7);
Tailwind
colors: {
  custom: {
    50: '#d475ce',
    500: '#bb2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ab9;
$custom-light: #d475ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ab9",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 300.828,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.2325,
    "h": 328.7
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#BB2AB9
secondary
#76CA78
accent
#E64441
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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