#BB47D1#BB47D1

#BB47D1 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.220 H 320.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BB47D1
RGBrgb(187, 71, 209)
HSLhsl(290, 60%, 55%)
HSVhsv(290, 66%, 82%)
CMYKcmyk(10.5%, 66%, 0%, 18%)
CIE-LABlab(51.47, 65.00, -49.71)
CIE-LCHlch(51.47, 81.83, 322.59°)
OKLaboklab(60.98% 0.1707 -0.1388)
OKLCHoklch(60.98% 0.22 320.9)
XYZxyz(34.2540, 19.6764, 62.3029)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47D1 #5DD147
analogous
#7647D1 #BB47D1 #D147A2
triadic
#BB47D1 #D1BB47 #47D1BB
tetradic
#BB47D1 #D17647 #5DD147 #47A2D1
square
#BB47D1 #D17647 #5DD147 #47A2D1
split-complementary
#BB47D1 #A2D147 #47D176
monochromatic
#6F207E #9A2CAF #BB47D1 #CD78DD #DFA9E9

Accessibility & contrast

On white

4.26
#BB47D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BB47D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47D1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47D1#FFFFFF#000000##000000
##BB47D11.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C72D5
Deuteranopia (green-blind)
#557FCE
Tritanopia (blue-blind)
#BC5F86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb47d1;
/* rgb */ color: rgb(187, 71, 209);
/* oklch */ color: oklch(61.0% 0.220 320.9);
Tailwind
colors: {
  custom: {
    50: '#d383e0',
    500: '#bb47d1',
    950: '#000000',
  },
}
SCSS
$custom: #bb47d1;
$custom-light: #d383e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47d1",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 290.435,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.22004,
    "h": 320.9
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#BB47D1
secondary
#A6D79D
accent
#E3455E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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