#BB2DA4#BB2DA4

#BB2DA4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 335.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB2DA4
RGBrgb(187, 45, 164)
HSLhsl(310, 61%, 45%)
HSVhsv(310, 76%, 73%)
CMYKcmyk(0%, 75.9%, 12.3%, 26.7%)
CIE-LABlab(45.80, 66.82, -32.44)
CIE-LCHlch(45.80, 74.28, 334.10°)
OKLaboklab(56.13% 0.1957 -0.0886)
OKLCHoklch(56.13% 0.215 335.6)
XYZxyz(28.1332, 15.1245, 36.5524)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DA4 #2DBB44
analogous
#8B2DBB #BB2DA4 #BB2D5D
triadic
#BB2DA4 #A4BB2D #2DA4BB
tetradic
#BB2DA4 #BB8B2D #2DBB44 #2D5DBB
square
#BB2DA4 #BB8B2D #2DBB44 #2D5DBB
split-complementary
#BB2DA4 #5DBB2D #2DBB8B
monochromatic
#58154D #8A2179 #BB2DA4 #D550BF #E182D1

Accessibility & contrast

On white

5.22
#BB2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB2DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2DA4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DA4#FFFFFF#000000##FFFFFF
##BB2DA41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#6174A1
Tritanopia (blue-blind)
#C53966
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2da4;
/* rgb */ color: rgb(187, 45, 164);
/* oklch */ color: oklch(56.1% 0.215 335.6);
Tailwind
colors: {
  custom: {
    50: '#d375bf',
    500: '#bb2da4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2da4;
$custom-light: #d375bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2da4",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 309.718,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.2148,
    "h": 335.6
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#BB2DA4
secondary
#7ACA87
accent
#E45E43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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