#BB39DC#BB39DC

#BB39DC is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.245 H 318.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB39DC
RGBrgb(187, 57, 220)
HSLhsl(288, 70%, 54%)
HSVhsv(288, 74%, 86%)
CMYKcmyk(15%, 74.1%, 0%, 13.7%)
CIE-LABlab(50.29, 72.23, -57.88)
CIE-LCHlch(50.29, 92.56, 321.29°)
OKLaboklab(60.34% 0.1838 -0.1626)
OKLCHoklch(60.34% 0.245 318.5)
XYZxyz(34.8731, 18.6600, 69.4611)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB39DC #5ADC39
analogous
#6A39DC #BB39DC #DC39AB
triadic
#BB39DC #DCBB39 #39DCBB
tetradic
#BB39DC #DC6A39 #5ADC39 #39ABDC
square
#BB39DC #DC6A39 #5ADC39 #39ABDC
split-complementary
#BB39DC #ABDC39 #39DC6A
monochromatic
#6D1783 #9920B7 #BB39DC #CD6DE5 #DFA1EE

Accessibility & contrast

On white

4.44
#BB39DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BB39DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB39DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB39DC#FFFFFF#000000##000000
##BB39DC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#BA5B88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb39dc;
/* rgb */ color: rgb(187, 57, 220);
/* oklch */ color: oklch(60.3% 0.245 318.5);
Tailwind
colors: {
  custom: {
    50: '#d47ce8',
    500: '#bb39dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb39dc;
$custom-light: #d47ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb39dc",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 287.853,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.24544,
    "h": 318.5
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#BB39DC
secondary
#A4DB96
accent
#ED3B5F
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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