#BB29B7#BB29B7

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

Color values

HEX#BB29B7
RGBrgb(187, 41, 183)
HSLhsl(302, 64%, 45%)
HSVhsv(302, 78%, 73%)
CMYKcmyk(0%, 78.1%, 2.1%, 26.7%)
CIE-LABlab(46.41, 70.80, -42.72)
CIE-LCHlch(46.41, 82.69, 328.90°)
OKLaboklab(56.88% 0.1995 -0.1182)
OKLCHoklch(56.88% 0.232 329.3)
XYZxyz(29.8335, 15.5719, 46.2250)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB29B7 #29BB2D
analogous
#7629BB #BB29B7 #BB296E
triadic
#BB29B7 #B7BB29 #29B7BB
tetradic
#BB29B7 #BB7629 #29BB2D #296EBB
square
#BB29B7 #BB7629 #29BB2D #296EBB
split-complementary
#BB29B7 #6EBB29 #29BB76
monochromatic
#571355 #891E86 #BB29B7 #D74AD3 #E27CDF

Accessibility & contrast

On white

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

On black

4.11
#BB29B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB29B7#FFFFFF#000000##FFFFFF
##BB29B71.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BB
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#C24070
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb29b7;
/* rgb */ color: rgb(187, 41, 183);
/* oklch */ color: oklch(56.9% 0.232 329.3);
Tailwind
colors: {
  custom: {
    50: '#d475cd',
    500: '#bb29b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb29b7;
$custom-light: #d475cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb29b7",
  "rgb": {
    "r": 187,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 301.644,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.23192,
    "h": 329.3
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#BB29B7
secondary
#75CB78
accent
#E74541
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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