#BB39B1#BB39B1

#BB39B1 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.211 H 331.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BB39B1
RGBrgb(187, 57, 177)
HSLhsl(305, 53%, 48%)
HSVhsv(305, 70%, 73%)
CMYKcmyk(0%, 69.5%, 5.3%, 26.7%)
CIE-LABlab(47.84, 64.86, -36.93)
CIE-LCHlch(47.84, 74.63, 330.34°)
OKLaboklab(57.8% 0.185 -0.1016)
OKLCHoklch(57.8% 0.211 331.2)
XYZxyz(29.8924, 16.6677, 43.2292)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB39B1 #39BB43
analogous
#8439BB #BB39B1 #BB3970
triadic
#BB39B1 #B1BB39 #39B1BB
tetradic
#BB39B1 #BB8439 #39BB43 #3970BB
square
#BB39B1 #BB8439 #39BB43 #3970BB
split-complementary
#BB39B1 #70BB39 #39BB84
monochromatic
#5D1C58 #8C2B85 #BB39B1 #CF62C7 #DD91D8

Accessibility & contrast

On white

4.85
#BB39B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BB39B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB39B1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB39B1#FFFFFF#000000##FFFFFF
##BB39B11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B4
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#C24871
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb39b1;
/* rgb */ color: rgb(187, 57, 177);
/* oklch */ color: oklch(57.8% 0.211 331.2);
Tailwind
colors: {
  custom: {
    50: '#d37bc9',
    500: '#bb39b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb39b1;
$custom-light: #d37bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb39b1",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 304.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.21108,
    "h": 331.2
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#BB39B1
secondary
#87C88C
accent
#DD564B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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