#BB47BC#BB47BC

#BB47BC is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.202 H 327.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BB47BC
RGBrgb(187, 71, 188)
HSLhsl(299, 47%, 51%)
HSVhsv(299, 62%, 74%)
CMYKcmyk(0.5%, 62.2%, 0%, 26.3%)
CIE-LABlab(50.34, 61.25, -39.41)
CIE-LCHlch(50.34, 72.83, 327.24°)
OKLaboklab(59.8% 0.1702 -0.1089)
OKLCHoklch(59.8% 0.202 327.4)
XYZxyz(31.8234, 18.7042, 49.5013)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47BC #48BC47
analogous
#8047BC #BB47BC #BC4782
triadic
#BB47BC #BCBB47 #47BCBB
tetradic
#BB47BC #BC8047 #48BC47 #4782BC
square
#BB47BC #BC8047 #48BC47 #4782BC
split-complementary
#BB47BC #82BC47 #47BC80
monochromatic
#642464 #903591 #BB47BC #CC74CC #DCA1DD

Accessibility & contrast

On white

4.43
#BB47BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BB47BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47BC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47BC#FFFFFF#000000##000000
##BB47BC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#386EC0
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#C0567B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb47bc;
/* rgb */ color: rgb(187, 71, 188);
/* oklch */ color: oklch(59.8% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#d382d0',
    500: '#bb47bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb47bc;
$custom-light: #d382d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47bc",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 299.487,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59796,
    "c": 0.20204,
    "h": 327.4
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#BB47BC
secondary
#96C995
accent
#D65253
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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