#BB48BC#BB48BC

#BB48BC is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.201 H 327.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BB48BC
RGBrgb(187, 72, 188)
HSLhsl(299, 46%, 51%)
HSVhsv(299, 62%, 74%)
CMYKcmyk(0.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(50.49, 60.83, -39.17)
CIE-LCHlch(50.49, 72.35, 327.22°)
OKLaboklab(59.9% 0.169 -0.1082)
OKLCHoklch(59.9% 0.201 327.4)
XYZxyz(31.8875, 18.8324, 49.5227)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48BC #49BC48
analogous
#8148BC #BB48BC #BC4883
triadic
#BB48BC #BCBB48 #48BCBB
tetradic
#BB48BC #BC8148 #49BC48 #4883BC
square
#BB48BC #BC8148 #49BC48 #4883BC
split-complementary
#BB48BC #83BC48 #48BC81
monochromatic
#642565 #913592 #BB48BC #CC75CC #DCA2DD

Accessibility & contrast

On white

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

On black

4.77
#BB48BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48BC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48BC#FFFFFF#000000##000000
##BB48BC1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#637DB9
Tritanopia (blue-blind)
#C0577C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb48bc;
/* rgb */ color: rgb(187, 72, 188);
/* oklch */ color: oklch(59.9% 0.201 327.4);
Tailwind
colors: {
  custom: {
    50: '#d383d0',
    500: '#bb48bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb48bc;
$custom-light: #d383d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48bc",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 299.483,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.20068,
    "h": 327.4
  },
  "luminance": 0.1883
}

Semantic roles & 50–950 ramp

primary
#BB48BC
secondary
#97CA96
accent
#D65253
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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