#BB45AC#BB45AC

#BB45AC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.8% C 0.192 H 333.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB45AC
RGBrgb(187, 69, 172)
HSLhsl(308, 46%, 50%)
HSVhsv(308, 63%, 73%)
CMYKcmyk(0%, 63.1%, 8%, 26.7%)
CIE-LABlab(49.25, 59.42, -31.77)
CIE-LCHlch(49.25, 67.38, 331.87°)
OKLaboklab(58.75% 0.1711 -0.0868)
OKLCHoklch(58.75% 0.192 333.1)
XYZxyz(30.0681, 17.8019, 40.8742)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45AC #45BB54
analogous
#8F45BB #BB45AC #BB4571
triadic
#BB45AC #ACBB45 #45ACBB
tetradic
#BB45AC #BB8F45 #45BB54 #4571BB
square
#BB45AC #BB8F45 #45BB54 #4571BB
split-complementary
#BB45AC #71BB45 #45BB8F
monochromatic
#62245A #8F3483 #BB45AC #CB72C0 #DC9FD4

Accessibility & contrast

On white

4.61
#BB45AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BB45AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45AC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45AC#FFFFFF#000000##FFFFFF
##BB45AC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#C34F72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb45ac;
/* rgb */ color: rgb(187, 69, 172);
/* oklch */ color: oklch(58.8% 0.192 333.1);
Tailwind
colors: {
  custom: {
    50: '#d381c5',
    500: '#bb45ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb45ac;
$custom-light: #d381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45ac",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 307.627,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.19189,
    "h": 333.1
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#BB45AC
secondary
#94C89A
accent
#D66352
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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