#BB45AD#BB45AD

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

Color values

HEX#BB45AD
RGBrgb(187, 69, 173)
HSLhsl(307, 46%, 50%)
HSVhsv(307, 63%, 73%)
CMYKcmyk(0%, 63.1%, 7.5%, 26.7%)
CIE-LABlab(49.30, 59.58, -32.28)
CIE-LCHlch(49.30, 67.76, 331.55°)
OKLaboklab(58.8% 0.1712 -0.0883)
OKLCHoklch(58.8% 0.193 332.7)
XYZxyz(30.1645, 17.8405, 41.3819)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45AD #45BB53
analogous
#8E45BB #BB45AD #BB4572
triadic
#BB45AD #ADBB45 #45ADBB
tetradic
#BB45AD #BB8E45 #45BB53 #4572BB
square
#BB45AD #BB8E45 #45BB53 #4572BB
split-complementary
#BB45AD #72BB45 #45BB8E
monochromatic
#62245A #8F3484 #BB45AD #CB72C1 #DC9FD5

Accessibility & contrast

On white

4.60
#BB45AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BB45AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45AD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45AD#FFFFFF#000000##FFFFFF
##BB45AD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AB0
Deuteranopia (green-blind)
#687BAA
Tritanopia (blue-blind)
#C34F73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb45ad;
/* rgb */ color: rgb(187, 69, 173);
/* oklch */ color: oklch(58.8% 0.193 332.7);
Tailwind
colors: {
  custom: {
    50: '#d381c6',
    500: '#bb45ad',
    950: '#000000',
  },
}
SCSS
$custom: #bb45ad;
$custom-light: #d381c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45ad",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 307.119,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58802,
    "c": 0.19267,
    "h": 332.7
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45AD

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

Preview Lab → · Contrast checker → · Palette generator →

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