#BB34AA#BB34AA

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

Color values

HEX#BB34AA
RGBrgb(187, 52, 170)
HSLhsl(308, 56%, 47%)
HSVhsv(308, 72%, 73%)
CMYKcmyk(0%, 72.2%, 9.1%, 26.7%)
CIE-LABlab(46.88, 65.50, -34.32)
CIE-LCHlch(46.88, 73.95, 332.35°)
OKLaboklab(57% 0.1896 -0.094)
OKLCHoklch(57% 0.212 333.6)
XYZxyz(28.9774, 15.9255, 39.5702)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34AA #34BB45
analogous
#8934BB #BB34AA #BB3466
triadic
#BB34AA #AABB34 #34AABB
tetradic
#BB34AA #BB8934 #34BB45 #3466BB
square
#BB34AA #BB8934 #34BB45 #3466BB
split-complementary
#BB34AA #66BB34 #34BB89
monochromatic
#5B1953 #8B277E #BB34AA #D15BC2 #DF8BD4

Accessibility & contrast

On white

5.02
#BB34AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BB34AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB34AA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34AA#FFFFFF#000000##FFFFFF
##BB34AA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#C4416B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb34aa;
/* rgb */ color: rgb(187, 52, 170);
/* oklch */ color: oklch(57.0% 0.212 333.6);
Tailwind
colors: {
  custom: {
    50: '#d378c3',
    500: '#bb34aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb34aa;
$custom-light: #d378c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34aa",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 307.556,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.21164,
    "h": 333.6
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#BB34AA
secondary
#82C98B
accent
#E05B48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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