#BB34A8#BB34A8

#BB34A8 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.210 H 334.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB34A8
RGBrgb(187, 52, 168)
HSLhsl(308, 56%, 47%)
HSVhsv(308, 72%, 73%)
CMYKcmyk(0%, 72.2%, 10.2%, 26.7%)
CIE-LABlab(46.78, 65.20, -33.29)
CIE-LCHlch(46.78, 73.20, 332.95°)
OKLaboklab(56.89% 0.1895 -0.0911)
OKLCHoklch(56.89% 0.21 334.3)
XYZxyz(28.7897, 15.8504, 38.5814)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34A8 #34BB47
analogous
#8A34BB #BB34A8 #BB3465
triadic
#BB34A8 #A8BB34 #34A8BB
tetradic
#BB34A8 #BB8A34 #34BB47 #3465BB
square
#BB34A8 #BB8A34 #34BB47 #3465BB
split-complementary
#BB34A8 #65BB34 #34BB8A
monochromatic
#5B1952 #8B277D #BB34A8 #D15BC1 #DF8BD3

Accessibility & contrast

On white

5.04
#BB34A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB34A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34A8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34A8#FFFFFF#000000##FFFFFF
##BB34A81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AB
Deuteranopia (green-blind)
#6276A5
Tritanopia (blue-blind)
#C4406A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb34a8;
/* rgb */ color: rgb(187, 52, 168);
/* oklch */ color: oklch(56.9% 0.210 334.3);
Tailwind
colors: {
  custom: {
    50: '#d378c2',
    500: '#bb34a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb34a8;
$custom-light: #d378c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34a8",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 308.444,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.2102,
    "h": 334.3
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#BB34A8
secondary
#82C98C
accent
#E05D48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB34A8

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

Preview Lab → · Contrast checker → · Palette generator →

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