#BB3BAB#BB3BAB

#BB3BAB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.204 H 333.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BB3BAB
RGBrgb(187, 59, 171)
HSLhsl(308, 52%, 48%)
HSVhsv(308, 68%, 73%)
CMYKcmyk(0%, 68.4%, 8.6%, 26.7%)
CIE-LABlab(47.80, 63.19, -33.46)
CIE-LCHlch(47.80, 71.50, 332.10°)
OKLaboklab(57.68% 0.1825 -0.0916)
OKLCHoklch(57.68% 0.204 333.3)
XYZxyz(29.4083, 16.6354, 40.1823)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3BAB #3BBB4B
analogous
#8B3BBB #BB3BAB #BB3B6B
triadic
#BB3BAB #ABBB3B #3BABBB
tetradic
#BB3BAB #BB8B3B #3BBB4B #3B6BBB
square
#BB3BAB #BB8B3B #3BBB4B #3B6BBB
split-complementary
#BB3BAB #6BBB3B #3BBB8B
monochromatic
#5E1E56 #8C2C80 #BB3BAB #CE65C1 #DD93D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB3BAB#FFFFFF#000000##FFFFFF
##BB3BAB1.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)
#3766AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#C3466E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb3bab;
/* rgb */ color: rgb(187, 59, 171);
/* oklch */ color: oklch(57.7% 0.204 333.3);
Tailwind
colors: {
  custom: {
    50: '#d37cc4',
    500: '#bb3bab',
    950: '#000000',
  },
}
SCSS
$custom: #bb3bab;
$custom-light: #d37cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3bab",
  "rgb": {
    "r": 187,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 307.5,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.20418,
    "h": 333.3
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#BB3BAB
secondary
#8AC891
accent
#DB5E4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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