#BB2AB6#BB2AB6

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

Color values

HEX#BB2AB6
RGBrgb(187, 42, 182)
HSLhsl(302, 63%, 45%)
HSVhsv(302, 78%, 73%)
CMYKcmyk(0%, 77.5%, 2.7%, 26.7%)
CIE-LABlab(46.45, 70.38, -42.07)
CIE-LCHlch(46.45, 81.99, 329.13°)
OKLaboklab(56.89% 0.1988 -0.1164)
OKLCHoklch(56.89% 0.23 329.7)
XYZxyz(29.7648, 15.6005, 45.6904)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AB6 #2ABB2F
analogous
#782ABB #BB2AB6 #BB2A6D
triadic
#BB2AB6 #B6BB2A #2AB6BB
tetradic
#BB2AB6 #BB782A #2ABB2F #2A6DBB
square
#BB2AB6 #BB782A #2ABB2F #2A6DBB
split-complementary
#BB2AB6 #6DBB2A #2ABB78
monochromatic
#571455 #891F85 #BB2AB6 #D74CD2 #E27DDE

Accessibility & contrast

On white

5.10
#BB2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BB2AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AB6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AB6#FFFFFF#000000##FFFFFF
##BB2AB61.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E62BA
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#C24070
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2ab6;
/* rgb */ color: rgb(187, 42, 182);
/* oklch */ color: oklch(56.9% 0.230 329.7);
Tailwind
colors: {
  custom: {
    50: '#d475cc',
    500: '#bb2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ab6;
$custom-light: #d475cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ab6",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 302.069,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.23032,
    "h": 329.7
  },
  "luminance": 0.15598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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