#BB48AB#BB48AB

#BB48AB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.187 H 333.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BB48AB
RGBrgb(187, 72, 171)
HSLhsl(308, 46%, 51%)
HSVhsv(308, 61%, 73%)
CMYKcmyk(0%, 61.5%, 8.6%, 26.7%)
CIE-LABlab(49.67, 57.99, -30.53)
CIE-LCHlch(49.67, 65.54, 332.23°)
OKLaboklab(59.04% 0.1673 -0.0833)
OKLCHoklch(59.04% 0.187 333.5)
XYZxyz(30.1617, 18.1421, 40.4334)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48AB #48BB58
analogous
#9148BB #BB48AB #BB4871
triadic
#BB48AB #ABBB48 #48ABBB
tetradic
#BB48AB #BB9148 #48BB58 #4871BB
square
#BB48AB #BB9148 #48BB58 #4871BB
split-complementary
#BB48AB #71BB48 #48BB91
monochromatic
#64255B #903684 #BB48AB #CC75BF #DCA1D4

Accessibility & contrast

On white

4.54
#BB48AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BB48AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48AB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48AB#FFFFFF#000000##000000
##BB48AB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#466BAE
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#C35173
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb48ab;
/* rgb */ color: rgb(187, 72, 171);
/* oklch */ color: oklch(59.0% 0.187 333.5);
Tailwind
colors: {
  custom: {
    50: '#d282c4',
    500: '#bb48ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb48ab;
$custom-light: #d282c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48ab",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 308.348,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59039,
    "c": 0.1869,
    "h": 333.5
  },
  "luminance": 0.1814
}

Semantic roles & 50–950 ramp

primary
#BB48AB
secondary
#96C99D
accent
#D56552
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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