#BB34BD#BB34BD

#BB34BD is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.226 H 327.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BB34BD
RGBrgb(187, 52, 189)
HSLhsl(299, 57%, 47%)
HSVhsv(299, 72%, 74%)
CMYKcmyk(1.1%, 72.5%, 0%, 25.9%)
CIE-LABlab(47.88, 68.50, -43.89)
CIE-LCHlch(47.88, 81.35, 327.35°)
OKLaboklab(58.04% 0.1902 -0.1217)
OKLCHoklch(58.04% 0.226 327.4)
XYZxyz(30.9064, 16.6971, 49.7293)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34BD #36BD34
analogous
#7734BD #BB34BD #BD347B
triadic
#BB34BD #BDBB34 #34BDBB
tetradic
#BB34BD #BD7734 #36BD34 #347BBD
square
#BB34BD #BD7734 #36BD34 #347BBD
split-complementary
#BB34BD #7BBD34 #34BD77
monochromatic
#5C1A5D #8C278D #BB34BD #D05CD2 #DE8CDF

Accessibility & contrast

On white

4.84
#BB34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BB34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34BD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34BD#FFFFFF#000000##FFFFFF
##BB34BD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C1
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#C14A76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb34bd;
/* rgb */ color: rgb(187, 52, 189);
/* oklch */ color: oklch(58.0% 0.226 327.4);
Tailwind
colors: {
  custom: {
    50: '#d379d1',
    500: '#bb34bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb34bd;
$custom-light: #d379d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34bd",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 299.124,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.2258,
    "h": 327.4
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#BB34BD
secondary
#84CA83
accent
#E0484A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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