#BB47DC#BB47DC

#BB47DC is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.230 H 317.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB47DC
RGBrgb(187, 71, 220)
HSLhsl(287, 68%, 57%)
HSVhsv(287, 68%, 86%)
CMYKcmyk(15%, 67.7%, 0%, 13.7%)
CIE-LABlab(52.11, 67.06, -54.96)
CIE-LCHlch(52.11, 86.71, 320.66°)
OKLaboklab(61.64% 0.1704 -0.1542)
OKLCHoklch(61.64% 0.23 317.9)
XYZxyz(35.6632, 20.2401, 69.7244)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47DC #68DC47
analogous
#7047DC #BB47DC #DC47B3
triadic
#BB47DC #DCBB47 #47DCBB
tetradic
#BB47DC #DC7047 #68DC47 #47B3DC
square
#BB47DC #DC7047 #68DC47 #47B3DC
split-complementary
#BB47DC #B3DC47 #47DC70
monochromatic
#741B8E #9E25C1 #BB47DC #CE7AE6 #E1AEF0

Accessibility & contrast

On white

4.16
#BB47DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BB47DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47DC#FFFFFF#000000##000000
##BB47DC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#BA638C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb47dc;
/* rgb */ color: rgb(187, 71, 220);
/* oklch */ color: oklch(61.6% 0.230 317.9);
Tailwind
colors: {
  custom: {
    50: '#d383e7',
    500: '#bb47dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb47dc;
$custom-light: #d383e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47dc",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 286.711,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.22975,
    "h": 317.9
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#BB47DC
secondary
#AFDEA1
accent
#EB3D63
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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