#BB48BB#BB48BB

#BB48BB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.9% C 0.200 H 327.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB48BB
RGBrgb(187, 72, 187)
HSLhsl(300, 46%, 51%)
HSVhsv(300, 61%, 73%)
CMYKcmyk(0%, 61.5%, 0%, 26.7%)
CIE-LABlab(50.44, 60.66, -38.67)
CIE-LCHlch(50.44, 71.93, 327.48°)
OKLaboklab(59.85% 0.169 -0.1067)
OKLCHoklch(59.85% 0.2 327.7)
XYZxyz(31.7801, 18.7895, 48.9569)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48BB #48BB48
analogous
#8148BB #BB48BB #BB4881
triadic
#BB48BB #BBBB48 #48BBBB
tetradic
#BB48BB #BB8148 #48BB48 #4881BB
square
#BB48BB #BB8148 #48BB48 #4881BB
split-complementary
#BB48BB #81BB48 #48BB81
monochromatic
#642564 #903690 #BB48BB #CC75CC #DCA1DC

Accessibility & contrast

On white

4.41
#BB48BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BB48BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48BB#FFFFFF#000000##000000
##BB48BB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#C0577B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb48bb;
/* rgb */ color: rgb(187, 72, 187);
/* oklch */ color: oklch(59.9% 0.200 327.7);
Tailwind
colors: {
  custom: {
    50: '#d283d0',
    500: '#bb48bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb48bb;
$custom-light: #d283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48bb",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.19984,
    "h": 327.7
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#BB48BB
secondary
#96C996
accent
#D55252
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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