#BB2DA8#BB2DA8

#BB2DA8 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.218 H 334.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB2DA8
RGBrgb(187, 45, 168)
HSLhsl(308, 61%, 45%)
HSVhsv(308, 76%, 73%)
CMYKcmyk(0%, 75.9%, 10.2%, 26.7%)
CIE-LABlab(46.00, 67.41, -34.51)
CIE-LCHlch(46.00, 75.72, 332.89°)
OKLaboklab(56.34% 0.196 -0.0945)
OKLCHoklch(56.34% 0.218 334.2)
XYZxyz(28.5001, 15.2712, 38.4848)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DA8 #2DBB40
analogous
#872DBB #BB2DA8 #BB2D61
triadic
#BB2DA8 #A8BB2D #2DA8BB
tetradic
#BB2DA8 #BB872D #2DBB40 #2D61BB
square
#BB2DA8 #BB872D #2DBB40 #2D61BB
split-complementary
#BB2DA8 #61BB2D #2DBB87
monochromatic
#58154F #8A217C #BB2DA8 #D550C3 #E182D4

Accessibility & contrast

On white

5.18
#BB2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB2DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2DA8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DA8#FFFFFF#000000##FFFFFF
##BB2DA81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#6074A5
Tritanopia (blue-blind)
#C43B68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2da8;
/* rgb */ color: rgb(187, 45, 168);
/* oklch */ color: oklch(56.3% 0.218 334.2);
Tailwind
colors: {
  custom: {
    50: '#d375c2',
    500: '#bb2da8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2da8;
$custom-light: #d375c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2da8",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 308.028,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.21756,
    "h": 334.2
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#BB2DA8
secondary
#7ACA85
accent
#E45943
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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