#BB45AB#BB45AB

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

Color values

HEX#BB45AB
RGBrgb(187, 69, 171)
HSLhsl(308, 46%, 50%)
HSVhsv(308, 63%, 73%)
CMYKcmyk(0%, 63.1%, 8.6%, 26.7%)
CIE-LABlab(49.21, 59.26, -31.25)
CIE-LCHlch(49.21, 66.99, 332.19°)
OKLaboklab(58.7% 0.171 -0.0854)
OKLCHoklch(58.7% 0.191 333.5)
XYZxyz(29.9724, 17.7636, 40.3703)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45AB #45BB55
analogous
#9045BB #BB45AB #BB4570
triadic
#BB45AB #ABBB45 #45ABBB
tetradic
#BB45AB #BB9045 #45BB55 #4570BB
square
#BB45AB #BB9045 #45BB55 #4570BB
split-complementary
#BB45AB #70BB45 #45BB90
monochromatic
#622459 #8F3482 #BB45AB #CB72BF #DC9FD3

Accessibility & contrast

On white

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

On black

4.55
#BB45AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB45AB#FFFFFF#000000##FFFFFF
##BB45AB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#C34E72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb45ab;
/* rgb */ color: rgb(187, 69, 171);
/* oklch */ color: oklch(58.7% 0.191 333.5);
Tailwind
colors: {
  custom: {
    50: '#d381c4',
    500: '#bb45ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb45ab;
$custom-light: #d381c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45ab",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 308.136,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.19112,
    "h": 333.5
  },
  "luminance": 0.17761
}

Semantic roles & 50–950 ramp

primary
#BB45AB
secondary
#94C89B
accent
#D66452
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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