#BB34A5#BB34A5

#BB34A5 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.208 H 335.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB34A5
RGBrgb(187, 52, 165)
HSLhsl(310, 56%, 47%)
HSVhsv(310, 72%, 73%)
CMYKcmyk(0%, 72.2%, 11.8%, 26.7%)
CIE-LABlab(46.63, 64.75, -31.74)
CIE-LCHlch(46.63, 72.11, 333.89°)
OKLaboklab(56.74% 0.1892 -0.0866)
OKLCHoklch(56.74% 0.208 335.4)
XYZxyz(28.5134, 15.7399, 37.1264)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34A5 #34BB4A
analogous
#8E34BB #BB34A5 #BB3462
triadic
#BB34A5 #A5BB34 #34A5BB
tetradic
#BB34A5 #BB8E34 #34BB4A #3462BB
square
#BB34A5 #BB8E34 #34BB4A #3462BB
split-complementary
#BB34A5 #62BB34 #34BB8E
monochromatic
#5B1950 #8B277B #BB34A5 #D15BBE #DF8BD1

Accessibility & contrast

On white

5.06
#BB34A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB34A5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34A5#FFFFFF#000000##FFFFFF
##BB34A51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A8
Deuteranopia (green-blind)
#6476A2
Tritanopia (blue-blind)
#C43E69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb34a5;
/* rgb */ color: rgb(187, 52, 165);
/* oklch */ color: oklch(56.7% 0.208 335.4);
Tailwind
colors: {
  custom: {
    50: '#d378c0',
    500: '#bb34a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb34a5;
$custom-light: #d378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34a5",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 309.778,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56741,
    "c": 0.20808,
    "h": 335.4
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#BB34A5
secondary
#82C98E
accent
#E06148
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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