#BB47AB#BB47AB

#BB47AB is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.188 H 333.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BB47AB
RGBrgb(187, 71, 171)
HSLhsl(308, 46%, 51%)
HSVhsv(308, 62%, 73%)
CMYKcmyk(0%, 62%, 8.6%, 26.7%)
CIE-LABlab(49.51, 58.42, -30.78)
CIE-LCHlch(49.51, 66.03, 332.22°)
OKLaboklab(58.93% 0.1685 -0.084)
OKLCHoklch(58.93% 0.188 333.5)
XYZxyz(30.0975, 18.0138, 40.4120)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47AB #47BB57
analogous
#9147BB #BB47AB #BB4771
triadic
#BB47AB #ABBB47 #47ABBB
tetradic
#BB47AB #BB9147 #47BB57 #4771BB
square
#BB47AB #BB9147 #47BB57 #4771BB
split-complementary
#BB47AB #71BB47 #47BB91
monochromatic
#63255A #903583 #BB47AB #CC74BF #DCA0D4

Accessibility & contrast

On white

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

On black

4.60
#BB47AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47AB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47AB#FFFFFF#000000##000000
##BB47AB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#C35072
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb47ab;
/* rgb */ color: rgb(187, 71, 171);
/* oklch */ color: oklch(58.9% 0.188 333.5);
Tailwind
colors: {
  custom: {
    50: '#d282c4',
    500: '#bb47ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb47ab;
$custom-light: #d282c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47ab",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 308.276,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.18832,
    "h": 333.5
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#BB47AB
secondary
#95C99C
accent
#D66452
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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