#BB45AA#BB45AA

#BB45AA is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.7% C 0.190 H 333.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB45AA
RGBrgb(187, 69, 170)
HSLhsl(309, 46%, 50%)
HSVhsv(309, 63%, 73%)
CMYKcmyk(0%, 63.1%, 9.1%, 26.7%)
CIE-LABlab(49.16, 59.10, -30.74)
CIE-LCHlch(49.16, 66.61, 332.52°)
OKLaboklab(58.65% 0.1709 -0.0839)
OKLCHoklch(58.65% 0.19 333.8)
XYZxyz(29.8775, 17.7257, 39.8702)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45AA #45BB56
analogous
#9145BB #BB45AA #BB456F
triadic
#BB45AA #AABB45 #45AABB
tetradic
#BB45AA #BB9145 #45BB56 #456FBB
square
#BB45AA #BB9145 #45BB56 #456FBB
split-complementary
#BB45AA #6FBB45 #45BB91
monochromatic
#622459 #8F3482 #BB45AA #CB72BE #DC9FD3

Accessibility & contrast

On white

4.62
#BB45AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BB45AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45AA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45AA#FFFFFF#000000##FFFFFF
##BB45AA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#C34E71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb45aa;
/* rgb */ color: rgb(187, 69, 170);
/* oklch */ color: oklch(58.7% 0.190 333.8);
Tailwind
colors: {
  custom: {
    50: '#d381c3',
    500: '#bb45aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb45aa;
$custom-light: #d381c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45aa",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 308.644,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58654,
    "c": 0.19035,
    "h": 333.8
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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