#BB47BA#BB47BA

#BB47BA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.200 H 328.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BB47BA
RGBrgb(187, 71, 186)
HSLhsl(301, 46%, 51%)
HSVhsv(301, 62%, 73%)
CMYKcmyk(0%, 62%, 0.5%, 26.7%)
CIE-LABlab(50.24, 60.91, -38.41)
CIE-LCHlch(50.24, 72.00, 327.77°)
OKLaboklab(59.69% 0.1701 -0.106)
OKLCHoklch(59.69% 0.2 328.1)
XYZxyz(31.6093, 18.6185, 48.3737)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47BA #47BB48
analogous
#8247BB #BB47BA #BB4780
triadic
#BB47BA #BABB47 #47BABB
tetradic
#BB47BA #BB8247 #47BB48 #4780BB
square
#BB47BA #BB8247 #47BB48 #4780BB
split-complementary
#BB47BA #80BB47 #47BB82
monochromatic
#632562 #90358F #BB47BA #CC74CB #DCA0DC

Accessibility & contrast

On white

4.45
#BB47BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BB47BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47BA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47BA#FFFFFF#000000##000000
##BB47BA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#C1567A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb47ba;
/* rgb */ color: rgb(187, 71, 186);
/* oklch */ color: oklch(59.7% 0.200 328.1);
Tailwind
colors: {
  custom: {
    50: '#d382cf',
    500: '#bb47ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb47ba;
$custom-light: #d382cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47ba",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 300.517,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59689,
    "c": 0.20038,
    "h": 328.1
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#BB47BA
secondary
#95C996
accent
#D65352
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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