#BB47CB#BB47CB

#BB47CB is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.215 H 322.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BB47CB
RGBrgb(187, 71, 203)
HSLhsl(293, 56%, 54%)
HSVhsv(293, 65%, 80%)
CMYKcmyk(7.9%, 65%, 0%, 20.4%)
CIE-LABlab(51.13, 63.90, -46.81)
CIE-LCHlch(51.13, 79.21, 323.78°)
OKLaboklab(60.63% 0.1707 -0.1303)
OKLCHoklch(60.63% 0.215 322.6)
XYZxyz(33.5252, 19.3849, 58.4641)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47CB #57CB47
analogous
#7947CB #BB47CB #CB4799
triadic
#BB47CB #CBBB47 #47CBBB
tetradic
#BB47CB #CB7947 #57CB47 #4799CB
square
#BB47CB #CB7947 #57CB47 #4799CB
split-complementary
#BB47CB #99CB47 #47CB79
monochromatic
#6C2176 #972FA6 #BB47CB #CD77D8 #DEA6E6

Accessibility & contrast

On white

4.31
#BB47CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BB47CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47CB#FFFFFF#000000##000000
##BB47CB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#BE5C83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb47cb;
/* rgb */ color: rgb(187, 71, 203);
/* oklch */ color: oklch(60.6% 0.215 322.6);
Tailwind
colors: {
  custom: {
    50: '#d383db',
    500: '#bb47cb',
    950: '#000000',
  },
}
SCSS
$custom: #bb47cb;
$custom-light: #d383db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47cb",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 292.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.21481,
    "h": 322.6
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

primary
#BB47CB
secondary
#A2D39B
accent
#DF495B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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