#BB47B6#BB47B6

#BB47B6 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.5% C 0.197 H 329.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BB47B6
RGBrgb(187, 71, 182)
HSLhsl(303, 46%, 51%)
HSVhsv(303, 62%, 73%)
CMYKcmyk(0%, 62%, 2.7%, 26.7%)
CIE-LABlab(50.04, 60.23, -36.39)
CIE-LCHlch(50.04, 70.37, 328.86°)
OKLaboklab(59.48% 0.1698 -0.1001)
OKLCHoklch(59.48% 0.197 329.5)
XYZxyz(31.1900, 18.4508, 46.1655)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47B6 #47BB4C
analogous
#8647BB #BB47B6 #BB477C
triadic
#BB47B6 #B6BB47 #47B6BB
tetradic
#BB47B6 #BB8647 #47BB4C #477CBB
square
#BB47B6 #BB8647 #47BB4C #477CBB
split-complementary
#BB47B6 #7CBB47 #47BB86
monochromatic
#632560 #90358C #BB47B6 #CC74C8 #DCA0D9

Accessibility & contrast

On white

4.48
#BB47B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BB47B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47B6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47B6#FFFFFF#000000##000000
##BB47B61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB9
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#C15478
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb47b6;
/* rgb */ color: rgb(187, 71, 182);
/* oklch */ color: oklch(59.5% 0.197 329.5);
Tailwind
colors: {
  custom: {
    50: '#d282cc',
    500: '#bb47b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb47b6;
$custom-light: #d282cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47b6",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 182
  },
  "hsl": {
    "h": 302.586,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59479,
    "c": 0.19709,
    "h": 329.5
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#BB47B6
secondary
#95C997
accent
#D65852
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB47B6

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

Preview Lab → · Contrast checker → · Palette generator →

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