#BB47A4#BB47A4

#BB47A4 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.183 H 336.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB47A4
RGBrgb(187, 71, 164)
HSLhsl(312, 46%, 51%)
HSVhsv(312, 62%, 73%)
CMYKcmyk(0%, 62%, 12.3%, 26.7%)
CIE-LABlab(49.20, 57.31, -27.15)
CIE-LCHlch(49.20, 63.42, 334.66°)
OKLaboklab(58.59% 0.1675 -0.0737)
OKLCHoklch(58.59% 0.183 336.3)
XYZxyz(29.4479, 17.7540, 36.9907)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47A4 #47BB5E
analogous
#9847BB #BB47A4 #BB476A
triadic
#BB47A4 #A4BB47 #47A4BB
tetradic
#BB47A4 #BB9847 #47BB5E #476ABB
square
#BB47A4 #BB9847 #47BB5E #476ABB
split-complementary
#BB47A4 #6ABB47 #47BB98
monochromatic
#632557 #90357E #BB47A4 #CC74BA #DCA0D0

Accessibility & contrast

On white

4.61
#BB47A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BB47A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB47A4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47A4#FFFFFF#000000##FFFFFF
##BB47A41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#6D7BA1
Tritanopia (blue-blind)
#C44D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb47a4;
/* rgb */ color: rgb(187, 71, 164);
/* oklch */ color: oklch(58.6% 0.183 336.3);
Tailwind
colors: {
  custom: {
    50: '#d281bf',
    500: '#bb47a4',
    950: '#000000',
  },
}
SCSS
$custom: #bb47a4;
$custom-light: #d281bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47a4",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 311.897,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.183,
    "h": 336.3
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#BB47A4
secondary
#95C99F
accent
#D66C52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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