#BB47BB#BB47BB

#BB47BB is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.7% C 0.201 H 327.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB47BB
RGBrgb(187, 71, 187)
HSLhsl(300, 46%, 51%)
HSVhsv(300, 62%, 73%)
CMYKcmyk(0%, 62%, 0%, 26.7%)
CIE-LABlab(50.29, 61.08, -38.91)
CIE-LCHlch(50.29, 72.42, 327.50°)
OKLaboklab(59.74% 0.1701 -0.1074)
OKLCHoklch(59.74% 0.201 327.7)
XYZxyz(31.7159, 18.6612, 48.9355)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47BB #47BB47
analogous
#8147BB #BB47BB #BB4781
triadic
#BB47BB #BBBB47 #47BBBB
tetradic
#BB47BB #BB8147 #47BB47 #4781BB
square
#BB47BB #BB8147 #47BB47 #4781BB
split-complementary
#BB47BB #81BB47 #47BB81
monochromatic
#632563 #903590 #BB47BB #CC74CC #DCA0DC

Accessibility & contrast

On white

4.44
#BB47BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BB47BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47BB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47BB#FFFFFF#000000##000000
##BB47BB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#C1567B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb47bb;
/* rgb */ color: rgb(187, 71, 187);
/* oklch */ color: oklch(59.7% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#d382d0',
    500: '#bb47bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb47bb;
$custom-light: #d382d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47bb",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.20121,
    "h": 327.7
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#BB47BB
secondary
#95C995
accent
#D65252
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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