#BB45A8#BB45A8

#BB45A8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.189 H 334.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BB45A8
RGBrgb(187, 69, 168)
HSLhsl(310, 46%, 50%)
HSVhsv(310, 63%, 73%)
CMYKcmyk(0%, 63.1%, 10.2%, 26.7%)
CIE-LABlab(49.07, 58.78, -29.70)
CIE-LCHlch(49.07, 65.86, 333.19°)
OKLaboklab(58.56% 0.1706 -0.0809)
OKLCHoklch(58.56% 0.189 334.6)
XYZxyz(29.6897, 17.6506, 38.8814)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A8 #45BB58
analogous
#9345BB #BB45A8 #BB456D
triadic
#BB45A8 #A8BB45 #45A8BB
tetradic
#BB45A8 #BB9345 #45BB58 #456DBB
square
#BB45A8 #BB9345 #45BB58 #456DBB
split-complementary
#BB45A8 #6DBB45 #45BB93
monochromatic
#622458 #8F3480 #BB45A8 #CB72BD #DC9FD2

Accessibility & contrast

On white

4.64
#BB45A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BB45A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45A8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45A8#FFFFFF#000000##FFFFFF
##BB45A81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#C44D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb45a8;
/* rgb */ color: rgb(187, 69, 168);
/* oklch */ color: oklch(58.6% 0.189 334.6);
Tailwind
colors: {
  custom: {
    50: '#d380c2',
    500: '#bb45a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a8;
$custom-light: #d380c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a8",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 309.661,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.18882,
    "h": 334.6
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#BB45A8
secondary
#94C89C
accent
#D66752
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB45A8

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

Preview Lab → · Contrast checker → · Palette generator →

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