#BB34B5#BB34B5

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

Color values

HEX#BB34B5
RGBrgb(187, 52, 181)
HSLhsl(303, 56%, 47%)
HSVhsv(303, 72%, 73%)
CMYKcmyk(0%, 72.2%, 3.2%, 26.7%)
CIE-LABlab(47.44, 67.21, -39.90)
CIE-LCHlch(47.44, 78.16, 329.30°)
OKLaboklab(57.59% 0.1901 -0.1101)
OKLCHoklch(57.59% 0.22 329.9)
XYZxyz(30.0618, 16.3593, 45.2814)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34B5 #34BB3A
analogous
#7E34BB #BB34B5 #BB3471
triadic
#BB34B5 #B5BB34 #34B5BB
tetradic
#BB34B5 #BB7E34 #34BB3A #3471BB
square
#BB34B5 #BB7E34 #34BB3A #3471BB
split-complementary
#BB34B5 #71BB34 #34BB7E
monochromatic
#5B1958 #8B2787 #BB34B5 #D15BCC #DF8BDB

Accessibility & contrast

On white

4.92
#BB34B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BB34B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34B5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34B5#FFFFFF#000000##FFFFFF
##BB34B51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B9
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#C24671
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb34b5;
/* rgb */ color: rgb(187, 52, 181);
/* oklch */ color: oklch(57.6% 0.220 329.9);
Tailwind
colors: {
  custom: {
    50: '#d379cb',
    500: '#bb34b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb34b5;
$custom-light: #d379cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34b5",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 302.667,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.21973,
    "h": 329.9
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#BB34B5
secondary
#82C985
accent
#E04F48
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB34B5

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

Preview Lab → · Contrast checker → · Palette generator →

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