#BB48B8#BB48B8

#BB48B8 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.7% C 0.197 H 328.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB48B8
RGBrgb(187, 72, 184)
HSLhsl(302, 46%, 51%)
HSVhsv(302, 61%, 73%)
CMYKcmyk(0%, 61.5%, 1.6%, 26.7%)
CIE-LABlab(50.29, 60.14, -37.16)
CIE-LCHlch(50.29, 70.70, 328.29°)
OKLaboklab(59.69% 0.1687 -0.1024)
OKLCHoklch(59.69% 0.197 328.8)
XYZxyz(31.4623, 18.6623, 47.2832)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48B8 #48BB4B
analogous
#8448BB #BB48B8 #BB487E
triadic
#BB48B8 #B8BB48 #48B8BB
tetradic
#BB48B8 #BB8448 #48BB4B #487EBB
square
#BB48B8 #BB8448 #48BB4B #487EBB
split-complementary
#BB48B8 #7EBB48 #48BB84
monochromatic
#642562 #90368E #BB48B8 #CC75C9 #DCA1DB

Accessibility & contrast

On white

4.44
#BB48B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BB48B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48B8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48B8#FFFFFF#000000##000000
##BB48B81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#657DB5
Tritanopia (blue-blind)
#C15679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb48b8;
/* rgb */ color: rgb(187, 72, 184);
/* oklch */ color: oklch(59.7% 0.197 328.8);
Tailwind
colors: {
  custom: {
    50: '#d282ce',
    500: '#bb48b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb48b8;
$custom-light: #d282ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48b8",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 301.565,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59694,
    "c": 0.19735,
    "h": 328.8
  },
  "luminance": 0.1866
}

Semantic roles & 50–950 ramp

primary
#BB48B8
secondary
#96C997
accent
#D55652
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB48B8

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

Preview Lab → · Contrast checker → · Palette generator →

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