#BB34D3#BB34D3

#BB34D3 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.4% C 0.243 H 321.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB34D3
RGBrgb(187, 52, 211)
HSLhsl(291, 64%, 52%)
HSVhsv(291, 75%, 83%)
CMYKcmyk(11.4%, 75.4%, 0%, 17.3%)
CIE-LABlab(49.16, 72.24, -54.55)
CIE-LCHlch(49.16, 90.52, 322.94°)
OKLaboklab(59.37% 0.189 -0.1528)
OKLCHoklch(59.37% 0.243 321)
XYZxyz(33.4780, 17.7258, 63.2734)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34D3 #4CD334
analogous
#6C34D3 #BB34D3 #D3349C
triadic
#BB34D3 #D3BB34 #34D3BB
tetradic
#BB34D3 #D36C34 #4CD334 #349CD3
square
#BB34D3 #D36C34 #4CD334 #349CD3
split-complementary
#BB34D3 #9CD334 #34D36C
monochromatic
#661974 #9224A6 #BB34D3 #CC66DE #DD99E9

Accessibility & contrast

On white

4.62
#BB34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BB34D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34D3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34D3#FFFFFF#000000##FFFFFF
##BB34D31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#477ACF
Tritanopia (blue-blind)
#BC5482
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb34d3;
/* rgb */ color: rgb(187, 52, 211);
/* oklch */ color: oklch(59.4% 0.243 321.0);
Tailwind
colors: {
  custom: {
    50: '#d47ae1',
    500: '#bb34d3',
    950: '#000000',
  },
}
SCSS
$custom: #bb34d3;
$custom-light: #d47ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34d3",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 290.943,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.24308,
    "h": 321
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#BB34D3
secondary
#99D48E
accent
#E7405A
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BB34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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