#BB48A9#BB48A9

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

Color values

HEX#BB48A9
RGBrgb(187, 72, 169)
HSLhsl(309, 46%, 51%)
HSVhsv(309, 61%, 73%)
CMYKcmyk(0%, 61.5%, 9.6%, 26.7%)
CIE-LABlab(49.58, 57.67, -29.50)
CIE-LCHlch(49.58, 64.78, 332.91°)
OKLaboklab(58.94% 0.167 -0.0804)
OKLCHoklch(58.94% 0.185 334.3)
XYZxyz(29.9725, 18.0664, 39.4370)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48A9 #48BB5A
analogous
#9348BB #BB48A9 #BB486F
triadic
#BB48A9 #A9BB48 #48A9BB
tetradic
#BB48A9 #BB9348 #48BB5A #486FBB
square
#BB48A9 #BB9348 #48BB5A #486FBB
split-complementary
#BB48A9 #6FBB48 #48BB93
monochromatic
#64255A #903682 #BB48A9 #CC75BE #DCA1D3

Accessibility & contrast

On white

4.55
#BB48A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB48A9#FFFFFF#000000##000000
##BB48A91.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAC
Deuteranopia (green-blind)
#6B7CA6
Tritanopia (blue-blind)
#C35072
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb48a9;
/* rgb */ color: rgb(187, 72, 169);
/* oklch */ color: oklch(58.9% 0.185 334.3);
Tailwind
colors: {
  custom: {
    50: '#d282c3',
    500: '#bb48a9',
    950: '#000000',
  },
}
SCSS
$custom: #bb48a9;
$custom-light: #d282c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48a9",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 309.391,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.18535,
    "h": 334.3
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#BB48A9
secondary
#96C99E
accent
#D56752
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB48A9

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

Preview Lab → · Contrast checker → · Palette generator →

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