#BB47B2#BB47B2

#BB47B2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.3% C 0.194 H 330.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BB47B2
RGBrgb(187, 71, 178)
HSLhsl(305, 46%, 51%)
HSVhsv(305, 62%, 73%)
CMYKcmyk(0%, 62%, 4.8%, 26.7%)
CIE-LABlab(49.84, 59.56, -34.36)
CIE-LCHlch(49.84, 68.76, 330.02°)
OKLaboklab(59.27% 0.1694 -0.0943)
OKLCHoklch(59.27% 0.194 330.9)
XYZxyz(30.7825, 18.2878, 44.0194)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47B2 #47BB50
analogous
#8A47BB #BB47B2 #BB4778
triadic
#BB47B2 #B2BB47 #47B2BB
tetradic
#BB47B2 #BB8A47 #47BB50 #4778BB
square
#BB47B2 #BB8A47 #47BB50 #4778BB
split-complementary
#BB47B2 #78BB47 #47BB8A
monochromatic
#63255E #903589 #BB47B2 #CC74C5 #DCA0D7

Accessibility & contrast

On white

4.51
#BB47B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BB47B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47B2#FFFFFF#000000##000000
##BB47B21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#C25276
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb47b2;
/* rgb */ color: rgb(187, 71, 178);
/* oklch */ color: oklch(59.3% 0.194 330.9);
Tailwind
colors: {
  custom: {
    50: '#d282c9',
    500: '#bb47b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb47b2;
$custom-light: #d282c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47b2",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 304.655,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.19385,
    "h": 330.9
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#BB47B2
secondary
#95C999
accent
#D65C52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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