#BB34BC#BB34BC

#BB34BC is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.225 H 327.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BB34BC
RGBrgb(187, 52, 188)
HSLhsl(300, 57%, 47%)
HSVhsv(300, 72%, 74%)
CMYKcmyk(0.5%, 72.3%, 0%, 26.3%)
CIE-LABlab(47.82, 68.34, -43.40)
CIE-LCHlch(47.82, 80.95, 327.58°)
OKLaboklab(57.98% 0.1902 -0.1203)
OKLCHoklch(57.98% 0.225 327.7)
XYZxyz(30.7982, 16.6538, 49.1596)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34BC #35BC34
analogous
#7734BC #BB34BC #BC3479
triadic
#BB34BC #BCBB34 #34BCBB
tetradic
#BB34BC #BC7734 #35BC34 #3479BC
square
#BB34BC #BC7734 #35BC34 #3479BC
split-complementary
#BB34BC #79BC34 #34BC77
monochromatic
#5C195C #8B278C #BB34BC #D15BD2 #DE8BDF

Accessibility & contrast

On white

4.85
#BB34BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BB34BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34BC#FFFFFF#000000##FFFFFF
##BB34BC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#5877B9
Tritanopia (blue-blind)
#C14975
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb34bc;
/* rgb */ color: rgb(187, 52, 188);
/* oklch */ color: oklch(58.0% 0.225 327.7);
Tailwind
colors: {
  custom: {
    50: '#d379d1',
    500: '#bb34bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb34bc;
$custom-light: #d379d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34bc",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 299.559,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.22504,
    "h": 327.7
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#BB34BC
secondary
#83C983
accent
#E04849
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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