#BB34AB#BB34AB

#BB34AB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.212 H 333.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BB34AB
RGBrgb(187, 52, 171)
HSLhsl(307, 56%, 47%)
HSVhsv(307, 72%, 73%)
CMYKcmyk(0%, 72.2%, 8.6%, 26.7%)
CIE-LABlab(46.93, 65.65, -34.83)
CIE-LCHlch(46.93, 74.32, 332.05°)
OKLaboklab(57.05% 0.1897 -0.0955)
OKLCHoklch(57.05% 0.212 333.3)
XYZxyz(29.0724, 15.9635, 40.0703)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34AB #34BB44
analogous
#8834BB #BB34AB #BB3468
triadic
#BB34AB #ABBB34 #34ABBB
tetradic
#BB34AB #BB8834 #34BB44 #3468BB
square
#BB34AB #BB8834 #34BB44 #3468BB
split-complementary
#BB34AB #68BB34 #34BB88
monochromatic
#5B1953 #8B277F #BB34AB #D15BC3 #DF8BD5

Accessibility & contrast

On white

5.01
#BB34AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BB34AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34AB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34AB#FFFFFF#000000##FFFFFF
##BB34AB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#C3416C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb34ab;
/* rgb */ color: rgb(187, 52, 171);
/* oklch */ color: oklch(57.0% 0.212 333.3);
Tailwind
colors: {
  custom: {
    50: '#d378c4',
    500: '#bb34ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb34ab;
$custom-light: #d378c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34ab",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 307.111,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5705,
    "c": 0.21236,
    "h": 333.3
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#BB34AB
secondary
#82C98A
accent
#E05A48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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