#BB48A8#BB48A8

#BB48A8 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.185 H 334.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB48A8
RGBrgb(187, 72, 168)
HSLhsl(310, 46%, 51%)
HSVhsv(310, 61%, 73%)
CMYKcmyk(0%, 61.5%, 10.2%, 26.7%)
CIE-LABlab(49.53, 57.51, -28.98)
CIE-LCHlch(49.53, 64.40, 333.25°)
OKLaboklab(58.89% 0.1669 -0.0789)
OKLCHoklch(58.89% 0.185 334.7)
XYZxyz(29.8790, 18.0290, 38.9445)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48A8 #48BB5B
analogous
#9448BB #BB48A8 #BB486E
triadic
#BB48A8 #A8BB48 #48A8BB
tetradic
#BB48A8 #BB9448 #48BB5B #486EBB
square
#BB48A8 #BB9448 #48BB5B #486EBB
split-complementary
#BB48A8 #6EBB48 #48BB94
monochromatic
#642559 #903681 #BB48A8 #CC75BD #DCA1D2

Accessibility & contrast

On white

4.56
#BB48A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BB48A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48A8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48A8#FFFFFF#000000##000000
##BB48A81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#C44F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb48a8;
/* rgb */ color: rgb(187, 72, 168);
/* oklch */ color: oklch(58.9% 0.185 334.7);
Tailwind
colors: {
  custom: {
    50: '#d282c2',
    500: '#bb48a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb48a8;
$custom-light: #d282c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48a8",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 309.913,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.18458,
    "h": 334.7
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#BB48A8
secondary
#96C99E
accent
#D56852
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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