#BB47D7#BB47D7

#BB47D7 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.3% C 0.225 H 319.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB47D7
RGBrgb(187, 71, 215)
HSLhsl(288, 64%, 56%)
HSVhsv(288, 67%, 84%)
CMYKcmyk(13%, 67%, 0%, 15.7%)
CIE-LABlab(51.81, 66.12, -52.59)
CIE-LCHlch(51.81, 84.48, 321.50°)
OKLaboklab(61.34% 0.1706 -0.1472)
OKLCHoklch(61.34% 0.225 319.2)
XYZxyz(35.0109, 19.9792, 66.2890)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47D7 #63D747
analogous
#7347D7 #BB47D7 #D747AB
triadic
#BB47D7 #D7BB47 #47D7BB
tetradic
#BB47D7 #D77347 #63D747 #47ABD7
square
#BB47D7 #D77347 #63D747 #47ABD7
split-complementary
#BB47D7 #ABD747 #47D773
monochromatic
#721D86 #9D28B9 #BB47D7 #CE79E2 #E0ACED

Accessibility & contrast

On white

4.20
#BB47D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BB47D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47D7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47D7#FFFFFF#000000##000000
##BB47D71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0974DB
Deuteranopia (green-blind)
#517FD4
Tritanopia (blue-blind)
#BB618A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb47d7;
/* rgb */ color: rgb(187, 71, 215);
/* oklch */ color: oklch(61.3% 0.225 319.2);
Tailwind
colors: {
  custom: {
    50: '#d383e4',
    500: '#bb47d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb47d7;
$custom-light: #d383e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47d7",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 288.333,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.22532,
    "h": 319.2
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#BB47D7
secondary
#ABDB9F
accent
#E74161
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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