#BB47D6#BB47D6

#BB47D6 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.224 H 319.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB47D6
RGBrgb(187, 71, 214)
HSLhsl(289, 64%, 56%)
HSVhsv(289, 67%, 84%)
CMYKcmyk(12.6%, 66.8%, 0%, 16.1%)
CIE-LABlab(51.76, 65.93, -52.11)
CIE-LCHlch(51.76, 84.04, 321.68°)
OKLaboklab(61.28% 0.1706 -0.1458)
OKLCHoklch(61.28% 0.224 319.5)
XYZxyz(34.8828, 19.9280, 65.6143)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47D6 #62D647
analogous
#7347D6 #BB47D6 #D647AA
triadic
#BB47D6 #D6BB47 #47D6BB
tetradic
#BB47D6 #D67347 #62D647 #47AAD6
square
#BB47D6 #D67347 #62D647 #47AAD6
split-complementary
#BB47D6 #AAD647 #47D673
monochromatic
#711E85 #9C29B7 #BB47D6 #CD79E1 #E0ABEC

Accessibility & contrast

On white

4.21
#BB47D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BB47D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47D6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47D6#FFFFFF#000000##000000
##BB47D61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E74DA
Deuteranopia (green-blind)
#527FD3
Tritanopia (blue-blind)
#BB6189
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb47d6;
/* rgb */ color: rgb(187, 71, 214);
/* oklch */ color: oklch(61.3% 0.224 319.5);
Tailwind
colors: {
  custom: {
    50: '#d383e3',
    500: '#bb47d6',
    950: '#000000',
  },
}
SCSS
$custom: #bb47d6;
$custom-light: #d383e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47d6",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 288.671,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.22443,
    "h": 319.5
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#BB47D6
secondary
#AADA9F
accent
#E74160
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BB47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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