#BB47A6#BB47A6

#BB47A6 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.7% C 0.184 H 335.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BB47A6
RGBrgb(187, 71, 166)
HSLhsl(311, 46%, 51%)
HSVhsv(311, 62%, 73%)
CMYKcmyk(0%, 62%, 11.2%, 26.7%)
CIE-LABlab(49.29, 57.62, -28.19)
CIE-LCHlch(49.29, 64.15, 333.93°)
OKLaboklab(58.68% 0.1678 -0.0766)
OKLCHoklch(58.68% 0.184 335.5)
XYZxyz(29.6300, 17.8268, 37.9494)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47A6 #47BB5C
analogous
#9647BB #BB47A6 #BB476C
triadic
#BB47A6 #A6BB47 #47A6BB
tetradic
#BB47A6 #BB9647 #47BB5C #476CBB
square
#BB47A6 #BB9647 #47BB5C #476CBB
split-complementary
#BB47A6 #6CBB47 #47BB96
monochromatic
#632558 #90357F #BB47A6 #CC74BC #DCA0D1

Accessibility & contrast

On white

4.60
#BB47A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BB47A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB47A6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47A6#FFFFFF#000000##FFFFFF
##BB47A61.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#6C7BA3
Tritanopia (blue-blind)
#C44E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb47a6;
/* rgb */ color: rgb(187, 71, 166);
/* oklch */ color: oklch(58.7% 0.184 335.5);
Tailwind
colors: {
  custom: {
    50: '#d281c0',
    500: '#bb47a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb47a6;
$custom-light: #d281c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47a6",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 310.862,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.18449,
    "h": 335.5
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#BB47A6
secondary
#95C99E
accent
#D66A52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB47A6

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

Preview Lab → · Contrast checker → · Palette generator →

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