#BB34A7#BB34A7

#BB34A7 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.209 H 334.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB34A7
RGBrgb(187, 52, 167)
HSLhsl(309, 56%, 47%)
HSVhsv(309, 72%, 73%)
CMYKcmyk(0%, 72.2%, 10.7%, 26.7%)
CIE-LABlab(46.73, 65.05, -32.77)
CIE-LCHlch(46.73, 72.84, 333.26°)
OKLaboklab(56.84% 0.1894 -0.0896)
OKLCHoklch(56.84% 0.209 334.7)
XYZxyz(28.6969, 15.8133, 38.0926)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34A7 #34BB48
analogous
#8C34BB #BB34A7 #BB3464
triadic
#BB34A7 #A7BB34 #34A7BB
tetradic
#BB34A7 #BB8C34 #34BB48 #3464BB
square
#BB34A7 #BB8C34 #34BB48 #3464BB
split-complementary
#BB34A7 #64BB34 #34BB8C
monochromatic
#5B1951 #8B277C #BB34A7 #D15BC0 #DF8BD2

Accessibility & contrast

On white

5.05
#BB34A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BB34A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34A7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34A7#FFFFFF#000000##FFFFFF
##BB34A71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AA
Deuteranopia (green-blind)
#6376A4
Tritanopia (blue-blind)
#C43F6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb34a7;
/* rgb */ color: rgb(187, 52, 167);
/* oklch */ color: oklch(56.8% 0.209 334.7);
Tailwind
colors: {
  custom: {
    50: '#d378c1',
    500: '#bb34a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb34a7;
$custom-light: #d378c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34a7",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 308.889,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.20949,
    "h": 334.7
  },
  "luminance": 0.15811
}

Semantic roles & 50–950 ramp

primary
#BB34A7
secondary
#82C98C
accent
#E05F48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB34A7

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

Preview Lab → · Contrast checker → · Palette generator →

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