#BB47B8#BB47B8

#BB47B8 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.6% C 0.199 H 328.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB47B8
RGBrgb(187, 71, 184)
HSLhsl(302, 46%, 51%)
HSVhsv(302, 62%, 73%)
CMYKcmyk(0%, 62%, 1.6%, 26.7%)
CIE-LABlab(50.14, 60.56, -37.40)
CIE-LCHlch(50.14, 71.18, 328.30°)
OKLaboklab(59.58% 0.1699 -0.1031)
OKLCHoklch(59.58% 0.199 328.8)
XYZxyz(31.3981, 18.5341, 47.2618)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47B8 #47BB4A
analogous
#8447BB #BB47B8 #BB477E
triadic
#BB47B8 #B8BB47 #47B8BB
tetradic
#BB47B8 #BB8447 #47BB4A #477EBB
square
#BB47B8 #BB8447 #47BB4A #477EBB
split-complementary
#BB47B8 #7EBB47 #47BB84
monochromatic
#632561 #90358D #BB47B8 #CC74C9 #DCA0DA

Accessibility & contrast

On white

4.46
#BB47B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BB47B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47B8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47B8#FFFFFF#000000##000000
##BB47B81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBB
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#C15579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb47b8;
/* rgb */ color: rgb(187, 71, 184);
/* oklch */ color: oklch(59.6% 0.199 328.8);
Tailwind
colors: {
  custom: {
    50: '#d382ce',
    500: '#bb47b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb47b8;
$custom-light: #d382ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47b8",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 301.552,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.19872,
    "h": 328.8
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#BB47B8
secondary
#95C996
accent
#D65652
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB47B8

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

Preview Lab → · Contrast checker → · Palette generator →

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