#BB29A6#BB29A6

#BB29A6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.220 H 334.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB29A6
RGBrgb(187, 41, 166)
HSLhsl(309, 64%, 45%)
HSVhsv(309, 78%, 73%)
CMYKcmyk(0%, 78.1%, 11.2%, 26.7%)
CIE-LABlab(45.51, 68.25, -34.10)
CIE-LCHlch(45.51, 76.30, 333.45°)
OKLaboklab(55.95% 0.1992 -0.0933)
OKLCHoklch(55.95% 0.22 334.9)
XYZxyz(28.1698, 14.9064, 37.4626)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB29A6 #29BB3E
analogous
#8729BB #BB29A6 #BB295D
triadic
#BB29A6 #A6BB29 #29A6BB
tetradic
#BB29A6 #BB8729 #29BB3E #295DBB
square
#BB29A6 #BB8729 #29BB3E #295DBB
split-complementary
#BB29A6 #5DBB29 #29BB87
monochromatic
#57134D #891E79 #BB29A6 #D74AC3 #E27CD4

Accessibility & contrast

On white

5.28
#BB29A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BB29A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB29A6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB29A6#FFFFFF#000000##FFFFFF
##BB29A61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#C43766
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb29a6;
/* rgb */ color: rgb(187, 41, 166);
/* oklch */ color: oklch(55.9% 0.220 334.9);
Tailwind
colors: {
  custom: {
    50: '#d474c1',
    500: '#bb29a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb29a6;
$custom-light: #d474c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb29a6",
  "rgb": {
    "r": 187,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 308.63,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.21999,
    "h": 334.9
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#BB29A6
secondary
#75CB82
accent
#E75941
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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