#BB34B7#BB34B7

#BB34B7 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.221 H 329.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB34B7
RGBrgb(187, 52, 183)
HSLhsl(302, 56%, 47%)
HSVhsv(302, 72%, 73%)
CMYKcmyk(0%, 72.2%, 2.1%, 26.7%)
CIE-LABlab(47.55, 67.53, -40.90)
CIE-LCHlch(47.55, 78.95, 328.79°)
OKLaboklab(57.7% 0.1902 -0.1131)
OKLCHoklch(57.7% 0.221 329.3)
XYZxyz(30.2685, 16.4420, 46.3700)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34B7 #34BB38
analogous
#7C34BB #BB34B7 #BB3474
triadic
#BB34B7 #B7BB34 #34B7BB
tetradic
#BB34B7 #BB7C34 #34BB38 #3474BB
square
#BB34B7 #BB7C34 #34BB38 #3474BB
split-complementary
#BB34B7 #74BB34 #34BB7C
monochromatic
#5B1959 #8B2788 #BB34B7 #D15BCE #DF8BDC

Accessibility & contrast

On white

4.90
#BB34B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BB34B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34B7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34B7#FFFFFF#000000##FFFFFF
##BB34B71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#C24773
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb34b7;
/* rgb */ color: rgb(187, 52, 183);
/* oklch */ color: oklch(57.7% 0.221 329.3);
Tailwind
colors: {
  custom: {
    50: '#d379cd',
    500: '#bb34b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb34b7;
$custom-light: #d379cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34b7",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 301.778,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.22124,
    "h": 329.3
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#BB34B7
secondary
#82C984
accent
#E04D48
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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