#BB34A6#BB34A6

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

Color values

HEX#BB34A6
RGBrgb(187, 52, 166)
HSLhsl(309, 56%, 47%)
HSVhsv(309, 72%, 73%)
CMYKcmyk(0%, 72.2%, 11.2%, 26.7%)
CIE-LABlab(46.68, 64.90, -32.26)
CIE-LCHlch(46.68, 72.47, 333.57°)
OKLaboklab(56.79% 0.1893 -0.0881)
OKLCHoklch(56.79% 0.209 335)
XYZxyz(28.6048, 15.7765, 37.6076)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34A6 #34BB49
analogous
#8C34BB #BB34A6 #BB3463
triadic
#BB34A6 #A6BB34 #34A6BB
tetradic
#BB34A6 #BB8C34 #34BB49 #3463BB
square
#BB34A6 #BB8C34 #34BB49 #3463BB
split-complementary
#BB34A6 #63BB34 #34BB8C
monochromatic
#5B1951 #8B277B #BB34A6 #D15BBF #DF8BD2

Accessibility & contrast

On white

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

On black

4.15
#BB34A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB34A6#FFFFFF#000000##FFFFFF
##BB34A61.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#C43F69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb34a6;
/* rgb */ color: rgb(187, 52, 166);
/* oklch */ color: oklch(56.8% 0.209 335.0);
Tailwind
colors: {
  custom: {
    50: '#d378c1',
    500: '#bb34a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb34a6;
$custom-light: #d378c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34a6",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 309.333,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.20878,
    "h": 335
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#BB34A6
secondary
#82C98D
accent
#E06048
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB34A6

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

Preview Lab → · Contrast checker → · Palette generator →

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