#BB48BD#BB48BD

#BB48BD is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.0% C 0.202 H 327.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BB48BD
RGBrgb(187, 72, 189)
HSLhsl(299, 47%, 51%)
HSVhsv(299, 62%, 74%)
CMYKcmyk(1.1%, 61.9%, 0%, 25.9%)
CIE-LABlab(50.54, 61.00, -39.67)
CIE-LCHlch(50.54, 72.77, 326.97°)
OKLaboklab(59.96% 0.1691 -0.1096)
OKLCHoklch(59.96% 0.202 327)
XYZxyz(31.9957, 18.8757, 50.0924)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48BD #4ABD48
analogous
#8048BD #BB48BD #BD4884
triadic
#BB48BD #BDBB48 #48BDBB
tetradic
#BB48BD #BD8048 #4ABD48 #4884BD
square
#BB48BD #BD8048 #4ABD48 #4884BD
split-complementary
#BB48BD #84BD48 #48BD80
monochromatic
#652566 #913593 #BB48BD #CC75CD #DCA2DD

Accessibility & contrast

On white

4.40
#BB48BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB48BD#FFFFFF#000000##000000
##BB48BD1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#C0587C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb48bd;
/* rgb */ color: rgb(187, 72, 189);
/* oklch */ color: oklch(60.0% 0.202 327.0);
Tailwind
colors: {
  custom: {
    50: '#d383d1',
    500: '#bb48bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb48bd;
$custom-light: #d383d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48bd",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 298.974,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.20152,
    "h": 327
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#BB48BD
secondary
#97CA97
accent
#D75153
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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