#BB39B2#BB39B2

#BB39B2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.212 H 330.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BB39B2
RGBrgb(187, 57, 178)
HSLhsl(304, 53%, 48%)
HSVhsv(304, 70%, 73%)
CMYKcmyk(0%, 69.5%, 4.8%, 26.7%)
CIE-LABlab(47.89, 65.02, -37.44)
CIE-LCHlch(47.89, 75.02, 330.07°)
OKLaboklab(57.86% 0.1851 -0.103)
OKLCHoklch(57.86% 0.212 330.9)
XYZxyz(29.9924, 16.7077, 43.7561)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB39B2 #39BB42
analogous
#8339BB #BB39B2 #BB3971
triadic
#BB39B2 #B2BB39 #39B2BB
tetradic
#BB39B2 #BB8339 #39BB42 #3971BB
square
#BB39B2 #BB8339 #39BB42 #3971BB
split-complementary
#BB39B2 #71BB39 #39BB83
monochromatic
#5D1C59 #8C2B85 #BB39B2 #CF62C8 #DD91D8

Accessibility & contrast

On white

4.84
#BB39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BB39B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB39B2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB39B2#FFFFFF#000000##FFFFFF
##BB39B21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#C24871
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb39b2;
/* rgb */ color: rgb(187, 57, 178);
/* oklch */ color: oklch(57.9% 0.212 330.9);
Tailwind
colors: {
  custom: {
    50: '#d37bc9',
    500: '#bb39b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb39b2;
$custom-light: #d37bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb39b2",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 304.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.21183,
    "h": 330.9
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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