#BB47E1#BB47E1

#BB47E1 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.234 H 316.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB47E1
RGBrgb(187, 71, 225)
HSLhsl(285, 72%, 58%)
HSVhsv(285, 68%, 88%)
CMYKcmyk(16.9%, 68.4%, 0%, 11.8%)
CIE-LABlab(52.41, 68.02, -57.31)
CIE-LCHlch(52.41, 88.95, 319.88°)
OKLaboklab(61.95% 0.1701 -0.161)
OKLCHoklch(61.95% 0.234 316.6)
XYZxyz(36.3353, 20.5090, 73.2642)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47E1 #6DE147
analogous
#6E47E1 #BB47E1 #E147BA
triadic
#BB47E1 #E1BB47 #47E1BB
tetradic
#BB47E1 #E16E47 #6DE147 #47BAE1
square
#BB47E1 #E16E47 #6DE147 #47BAE1
split-complementary
#BB47E1 #BAE147 #47E16E
monochromatic
#761895 #A021CA #BB47E1 #CE7CEA #E2B0F2

Accessibility & contrast

On white

4.12
#BB47E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB47E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47E1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47E1#FFFFFF#000000##000000
##BB47E11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#4880DD
Tritanopia (blue-blind)
#B9658F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb47e1;
/* rgb */ color: rgb(187, 71, 225);
/* oklch */ color: oklch(62.0% 0.234 316.6);
Tailwind
colors: {
  custom: {
    50: '#d383eb',
    500: '#bb47e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb47e1;
$custom-light: #d383eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47e1",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 285.195,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.23421,
    "h": 316.6
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#BB47E1
secondary
#B2E1A3
accent
#EF3966
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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