#BB47D9#BB47D9

#BB47D9 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.5% C 0.227 H 318.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BB47D9
RGBrgb(187, 71, 217)
HSLhsl(288, 66%, 56%)
HSVhsv(288, 67%, 85%)
CMYKcmyk(13.8%, 67.3%, 0%, 14.9%)
CIE-LABlab(51.93, 66.50, -53.54)
CIE-LCHlch(51.93, 85.37, 321.16°)
OKLaboklab(61.46% 0.1705 -0.15)
OKLCHoklch(61.46% 0.227 318.7)
XYZxyz(35.2695, 20.0826, 67.6507)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47D9 #65D947
analogous
#7247D9 #BB47D9 #D947AE
triadic
#BB47D9 #D9BB47 #47D9BB
tetradic
#BB47D9 #D97247 #65D947 #47AED9
square
#BB47D9 #D97247 #65D947 #47AED9
split-complementary
#BB47D9 #AED947 #47D972
monochromatic
#731C89 #9D27BC #BB47D9 #CE7AE3 #E0ACEE

Accessibility & contrast

On white

4.19
#BB47D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BB47D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47D9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47D9#FFFFFF#000000##000000
##BB47D91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#4F80D6
Tritanopia (blue-blind)
#BB628B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb47d9;
/* rgb */ color: rgb(187, 71, 217);
/* oklch */ color: oklch(61.5% 0.227 318.7);
Tailwind
colors: {
  custom: {
    50: '#d383e5',
    500: '#bb47d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb47d9;
$custom-light: #d383e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47d9",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 287.671,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.22708,
    "h": 318.7
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#BB47D9
secondary
#ACDCA0
accent
#E93F62
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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