#BB47B7#BB47B7

#BB47B7 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.198 H 329.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BB47B7
RGBrgb(187, 71, 183)
HSLhsl(302, 46%, 51%)
HSVhsv(302, 62%, 73%)
CMYKcmyk(0%, 62%, 2.1%, 26.7%)
CIE-LABlab(50.09, 60.40, -36.90)
CIE-LCHlch(50.09, 70.77, 328.58°)
OKLaboklab(59.53% 0.1698 -0.1016)
OKLCHoklch(59.53% 0.198 329.1)
XYZxyz(31.2937, 18.4923, 46.7117)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47B7 #47BB4B
analogous
#8547BB #BB47B7 #BB477D
triadic
#BB47B7 #B7BB47 #47B7BB
tetradic
#BB47B7 #BB8547 #47BB4B #477DBB
square
#BB47B7 #BB8547 #47BB4B #477DBB
split-complementary
#BB47B7 #7DBB47 #47BB85
monochromatic
#632561 #90358D #BB47B7 #CC74C8 #DCA0DA

Accessibility & contrast

On white

4.47
#BB47B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BB47B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47B7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47B7#FFFFFF#000000##000000
##BB47B71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#C15479
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb47b7;
/* rgb */ color: rgb(187, 71, 183);
/* oklch */ color: oklch(59.5% 0.198 329.1);
Tailwind
colors: {
  custom: {
    50: '#d382cd',
    500: '#bb47b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb47b7;
$custom-light: #d382cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47b7",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 302.069,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59531,
    "c": 0.19791,
    "h": 329.1
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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