#BB39A6#BB39A6

#BB39A6 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.203 H 335.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BB39A6
RGBrgb(187, 57, 166)
HSLhsl(310, 53%, 48%)
HSVhsv(310, 70%, 73%)
CMYKcmyk(0%, 69.5%, 11.2%, 26.7%)
CIE-LABlab(47.30, 63.16, -31.29)
CIE-LCHlch(47.30, 70.48, 333.64°)
OKLaboklab(57.24% 0.1841 -0.0854)
OKLCHoklch(57.24% 0.203 335.1)
XYZxyz(28.8399, 16.2467, 37.6860)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB39A6 #39BB4E
analogous
#8F39BB #BB39A6 #BB3965
triadic
#BB39A6 #A6BB39 #39A6BB
tetradic
#BB39A6 #BB8F39 #39BB4E #3965BB
square
#BB39A6 #BB8F39 #39BB4E #3965BB
split-complementary
#BB39A6 #65BB39 #39BB8F
monochromatic
#5D1C53 #8C2B7C #BB39A6 #CF62BE #DD91D1

Accessibility & contrast

On white

4.94
#BB39A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BB39A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB39A6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB39A6#FFFFFF#000000##FFFFFF
##BB39A61.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A9
Deuteranopia (green-blind)
#6577A3
Tritanopia (blue-blind)
#C4436B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb39a6;
/* rgb */ color: rgb(187, 57, 166);
/* oklch */ color: oklch(57.2% 0.203 335.1);
Tailwind
colors: {
  custom: {
    50: '#d37ac1',
    500: '#bb39a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb39a6;
$custom-light: #d37ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb39a6",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 166
  },
  "hsl": {
    "h": 309.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.20296,
    "h": 335.1
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#BB39A6
secondary
#87C892
accent
#DD634B
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB39A6

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

Preview Lab → · Contrast checker → · Palette generator →

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