#BB34B1#BB34B1

#BB34B1 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.217 H 331.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BB34B1
RGBrgb(187, 52, 177)
HSLhsl(304, 56%, 47%)
HSVhsv(304, 72%, 73%)
CMYKcmyk(0%, 72.2%, 5.3%, 26.7%)
CIE-LABlab(47.23, 66.58, -37.88)
CIE-LCHlch(47.23, 76.60, 330.36°)
OKLaboklab(57.37% 0.19 -0.1043)
OKLCHoklch(57.37% 0.217 331.2)
XYZxyz(29.6573, 16.1975, 43.1509)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34B1 #34BB3E
analogous
#8134BB #BB34B1 #BB346E
triadic
#BB34B1 #B1BB34 #34B1BB
tetradic
#BB34B1 #BB8134 #34BB3E #346EBB
square
#BB34B1 #BB8134 #34BB3E #346EBB
split-complementary
#BB34B1 #6EBB34 #34BB81
monochromatic
#5B1956 #8B2784 #BB34B1 #D15BC9 #DF8BD8

Accessibility & contrast

On white

4.95
#BB34B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BB34B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34B1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34B1#FFFFFF#000000##FFFFFF
##BB34B11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B4
Deuteranopia (green-blind)
#5E77AE
Tritanopia (blue-blind)
#C3446F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb34b1;
/* rgb */ color: rgb(187, 52, 177);
/* oklch */ color: oklch(57.4% 0.217 331.2);
Tailwind
colors: {
  custom: {
    50: '#d379c9',
    500: '#bb34b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb34b1;
$custom-light: #d379c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34b1",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 304.444,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.21675,
    "h": 331.2
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#BB34B1
secondary
#82C987
accent
#E05348
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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