#BB2AB4#BB2AB4

#BB2AB4 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.229 H 330.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB2AB4
RGBrgb(187, 42, 180)
HSLhsl(303, 63%, 45%)
HSVhsv(303, 78%, 73%)
CMYKcmyk(0%, 77.5%, 3.7%, 26.7%)
CIE-LABlab(46.34, 70.07, -41.07)
CIE-LCHlch(46.34, 81.22, 329.63°)
OKLaboklab(56.78% 0.1988 -0.1135)
OKLCHoklch(56.78% 0.229 330.3)
XYZxyz(29.5596, 15.5184, 44.6097)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AB4 #2ABB31
analogous
#7A2ABB #BB2AB4 #BB2A6B
triadic
#BB2AB4 #B4BB2A #2AB4BB
tetradic
#BB2AB4 #BB7A2A #2ABB31 #2A6BBB
square
#BB2AB4 #BB7A2A #2ABB31 #2A6BBB
split-complementary
#BB2AB4 #6BBB2A #2ABB7A
monochromatic
#571454 #891F84 #BB2AB4 #D74CD0 #E27DDD

Accessibility & contrast

On white

5.12
#BB2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BB2AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AB4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AB4#FFFFFF#000000##FFFFFF
##BB2AB41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B8
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#C23F6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2ab4;
/* rgb */ color: rgb(187, 42, 180);
/* oklch */ color: oklch(56.8% 0.229 330.3);
Tailwind
colors: {
  custom: {
    50: '#d475cb',
    500: '#bb2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ab4;
$custom-light: #d475cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ab4",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 302.897,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.22888,
    "h": 330.3
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#BB2AB4
secondary
#76CA7B
accent
#E64941
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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