#BB2DA7#BB2DA7

#BB2DA7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.217 H 334.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB2DA7
RGBrgb(187, 45, 167)
HSLhsl(308, 61%, 45%)
HSVhsv(308, 76%, 73%)
CMYKcmyk(0%, 75.9%, 10.7%, 26.7%)
CIE-LABlab(45.95, 67.26, -33.99)
CIE-LCHlch(45.95, 75.36, 333.19°)
OKLaboklab(56.29% 0.1959 -0.093)
OKLCHoklch(56.29% 0.217 334.6)
XYZxyz(28.4073, 15.2341, 37.9961)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DA7 #2DBB41
analogous
#882DBB #BB2DA7 #BB2D60
triadic
#BB2DA7 #A7BB2D #2DA7BB
tetradic
#BB2DA7 #BB882D #2DBB41 #2D60BB
square
#BB2DA7 #BB882D #2DBB41 #2D60BB
split-complementary
#BB2DA7 #60BB2D #2DBB88
monochromatic
#58154F #8A217B #BB2DA7 #D550C2 #E182D3

Accessibility & contrast

On white

5.19
#BB2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2DA7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DA7#FFFFFF#000000##FFFFFF
##BB2DA71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B60AA
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#C43A68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2da7;
/* rgb */ color: rgb(187, 45, 167);
/* oklch */ color: oklch(56.3% 0.217 334.6);
Tailwind
colors: {
  custom: {
    50: '#d375c1',
    500: '#bb2da7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2da7;
$custom-light: #d375c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2da7",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 308.451,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.21686,
    "h": 334.6
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#BB2DA7
secondary
#7ACA85
accent
#E45A43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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