#BB34B6#BB34B6

#BB34B6 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.220 H 329.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB34B6
RGBrgb(187, 52, 182)
HSLhsl(302, 56%, 47%)
HSVhsv(302, 72%, 73%)
CMYKcmyk(0%, 72.2%, 2.7%, 26.7%)
CIE-LABlab(47.50, 67.37, -40.40)
CIE-LCHlch(47.50, 78.55, 329.05°)
OKLaboklab(57.64% 0.1902 -0.1116)
OKLCHoklch(57.64% 0.22 329.6)
XYZxyz(30.1648, 16.4005, 45.8238)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34B6 #34BB39
analogous
#7D34BB #BB34B6 #BB3473
triadic
#BB34B6 #B6BB34 #34B6BB
tetradic
#BB34B6 #BB7D34 #34BB39 #3473BB
square
#BB34B6 #BB7D34 #34BB39 #3473BB
split-complementary
#BB34B6 #73BB34 #34BB7D
monochromatic
#5B1959 #8B2787 #BB34B6 #D15BCD #DF8BDC

Accessibility & contrast

On white

4.91
#BB34B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BB34B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34B6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34B6#FFFFFF#000000##FFFFFF
##BB34B61.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265BA
Deuteranopia (green-blind)
#5B77B3
Tritanopia (blue-blind)
#C24672
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb34b6;
/* rgb */ color: rgb(187, 52, 182);
/* oklch */ color: oklch(57.6% 0.220 329.6);
Tailwind
colors: {
  custom: {
    50: '#d379cc',
    500: '#bb34b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb34b6;
$custom-light: #d379cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34b6",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 302.222,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.22049,
    "h": 329.6
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#BB34B6
secondary
#82C985
accent
#E04E48
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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