#BB2DB1#BB2DB1

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

Color values

HEX#BB2DB1
RGBrgb(187, 45, 177)
HSLhsl(304, 61%, 45%)
HSVhsv(304, 76%, 73%)
CMYKcmyk(0%, 75.9%, 5.3%, 26.7%)
CIE-LABlab(46.47, 68.76, -39.09)
CIE-LCHlch(46.47, 79.09, 330.38°)
OKLaboklab(56.82% 0.1963 -0.1077)
OKLCHoklch(56.82% 0.224 331.2)
XYZxyz(29.3677, 15.6183, 43.0543)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DB1 #2DBB37
analogous
#7E2DBB #BB2DB1 #BB2D6A
triadic
#BB2DB1 #B1BB2D #2DB1BB
tetradic
#BB2DB1 #BB7E2D #2DBB37 #2D6ABB
square
#BB2DB1 #BB7E2D #2DBB37 #2D6ABB
split-complementary
#BB2DB1 #6ABB2D #2DBB7E
monochromatic
#581554 #8A2182 #BB2DB1 #D550CC #E182DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB2DB1#FFFFFF#000000##FFFFFF
##BB2DB11.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#C33F6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2db1;
/* rgb */ color: rgb(187, 45, 177);
/* oklch */ color: oklch(56.8% 0.224 331.2);
Tailwind
colors: {
  custom: {
    50: '#d376c9',
    500: '#bb2db1',
    950: '#000000',
  },
}
SCSS
$custom: #bb2db1;
$custom-light: #d376c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2db1",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 304.225,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.22394,
    "h": 331.2
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#BB2DB1
secondary
#7ACA80
accent
#E44F43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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