#BB47A7#BB47A7

#BB47A7 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.185 H 335.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB47A7
RGBrgb(187, 71, 167)
HSLhsl(310, 46%, 51%)
HSVhsv(310, 62%, 73%)
CMYKcmyk(0%, 62%, 10.7%, 26.7%)
CIE-LABlab(49.33, 57.78, -28.71)
CIE-LCHlch(49.33, 64.52, 333.58°)
OKLaboklab(58.73% 0.168 -0.0781)
OKLCHoklch(58.73% 0.185 335.1)
XYZxyz(29.7220, 17.8636, 38.4343)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47A7 #47BB5B
analogous
#9547BB #BB47A7 #BB476D
triadic
#BB47A7 #A7BB47 #47A7BB
tetradic
#BB47A7 #BB9547 #47BB5B #476DBB
square
#BB47A7 #BB9547 #47BB5B #476DBB
split-complementary
#BB47A7 #6DBB47 #47BB95
monochromatic
#632558 #903580 #BB47A7 #CC74BC #DCA0D2

Accessibility & contrast

On white

4.59
#BB47A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BB47A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB47A7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47A7#FFFFFF#000000##FFFFFF
##BB47A71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb47a7;
/* rgb */ color: rgb(187, 71, 167);
/* oklch */ color: oklch(58.7% 0.185 335.1);
Tailwind
colors: {
  custom: {
    50: '#d281c1',
    500: '#bb47a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb47a7;
$custom-light: #d281c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47a7",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 310.345,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.18525,
    "h": 335.1
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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