#BB34BB#BB34BB

#BB34BB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.224 H 328.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BB34BB
RGBrgb(187, 52, 187)
HSLhsl(300, 56%, 47%)
HSVhsv(300, 72%, 73%)
CMYKcmyk(0%, 72.2%, 0%, 26.7%)
CIE-LABlab(47.77, 68.17, -42.90)
CIE-LCHlch(47.77, 80.55, 327.82°)
OKLaboklab(57.92% 0.1902 -0.1188)
OKLCHoklch(57.92% 0.224 328)
XYZxyz(30.6908, 16.6109, 48.5938)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34BB #34BB34
analogous
#7834BB #BB34BB #BB3478
triadic
#BB34BB #BBBB34 #34BBBB
tetradic
#BB34BB #BB7834 #34BB34 #3478BB
square
#BB34BB #BB7834 #34BB34 #3478BB
split-complementary
#BB34BB #78BB34 #34BB78
monochromatic
#5B195B #8B278B #BB34BB #D15BD1 #DF8BDF

Accessibility & contrast

On white

4.86
#BB34BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BB34BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34BB#FFFFFF#000000##FFFFFF
##BB34BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#5977B8
Tritanopia (blue-blind)
#C14975
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb34bb;
/* rgb */ color: rgb(187, 52, 187);
/* oklch */ color: oklch(57.9% 0.224 328.0);
Tailwind
colors: {
  custom: {
    50: '#d379d0',
    500: '#bb34bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb34bb;
$custom-light: #d379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34bb",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57924,
    "c": 0.22427,
    "h": 328
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#BB34BB
secondary
#82C982
accent
#E04848
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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