#BB47AC#BB47AC

#BB47AC is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.189 H 333.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB47AC
RGBrgb(187, 71, 172)
HSLhsl(308, 46%, 51%)
HSVhsv(308, 62%, 73%)
CMYKcmyk(0%, 62%, 8%, 26.7%)
CIE-LABlab(49.56, 58.58, -31.29)
CIE-LCHlch(49.56, 66.41, 331.89°)
OKLaboklab(58.97% 0.1687 -0.0855)
OKLCHoklch(58.97% 0.189 333.1)
XYZxyz(30.1932, 18.0521, 40.9159)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47AC #47BB56
analogous
#9047BB #BB47AC #BB4772
triadic
#BB47AC #ACBB47 #47ACBB
tetradic
#BB47AC #BB9047 #47BB56 #4772BB
square
#BB47AC #BB9047 #47BB56 #4772BB
split-complementary
#BB47AC #72BB47 #47BB90
monochromatic
#63255B #903584 #BB47AC #CC74C0 #DCA0D4

Accessibility & contrast

On white

4.56
#BB47AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BB47AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47AC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47AC#FFFFFF#000000##000000
##BB47AC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#6A7CA9
Tritanopia (blue-blind)
#C35073
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb47ac;
/* rgb */ color: rgb(187, 71, 172);
/* oklch */ color: oklch(59.0% 0.189 333.1);
Tailwind
colors: {
  custom: {
    50: '#d282c5',
    500: '#bb47ac',
    950: '#000000',
  },
}
SCSS
$custom: #bb47ac;
$custom-light: #d282c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47ac",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 307.759,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.18909,
    "h": 333.1
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#BB47AC
secondary
#95C99C
accent
#D66352
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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