#BB34A9#BB34A9

#BB34A9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.211 H 334.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB34A9
RGBrgb(187, 52, 169)
HSLhsl(308, 56%, 47%)
HSVhsv(308, 72%, 73%)
CMYKcmyk(0%, 72.2%, 9.6%, 26.7%)
CIE-LABlab(46.83, 65.35, -33.80)
CIE-LCHlch(46.83, 73.57, 332.65°)
OKLaboklab(56.95% 0.1895 -0.0925)
OKLCHoklch(56.95% 0.211 334)
XYZxyz(28.8832, 15.8878, 39.0739)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34A9 #34BB46
analogous
#8A34BB #BB34A9 #BB3466
triadic
#BB34A9 #A9BB34 #34A9BB
tetradic
#BB34A9 #BB8A34 #34BB46 #3466BB
square
#BB34A9 #BB8A34 #34BB46 #3466BB
split-complementary
#BB34A9 #66BB34 #34BB8A
monochromatic
#5B1952 #8B277E #BB34A9 #D15BC2 #DF8BD3

Accessibility & contrast

On white

5.03
#BB34A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BB34A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34A9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34A9#FFFFFF#000000##FFFFFF
##BB34A91.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#C4406B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb34a9;
/* rgb */ color: rgb(187, 52, 169);
/* oklch */ color: oklch(56.9% 0.211 334.0);
Tailwind
colors: {
  custom: {
    50: '#d378c3',
    500: '#bb34a9',
    950: '#000000',
  },
}
SCSS
$custom: #bb34a9;
$custom-light: #d378c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34a9",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 308,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.21092,
    "h": 334
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#BB34A9
secondary
#82C98B
accent
#E05C48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB34A9

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

Preview Lab → · Contrast checker → · Palette generator →

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