#BB3CA6#BB3CA6

#BB3CA6 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.199 H 335.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BB3CA6
RGBrgb(187, 60, 166)
HSLhsl(310, 51%, 48%)
HSVhsv(310, 68%, 73%)
CMYKcmyk(0%, 67.9%, 11.2%, 26.7%)
CIE-LABlab(47.69, 62.05, -30.67)
CIE-LCHlch(47.69, 69.22, 333.69°)
OKLaboklab(57.52% 0.1809 -0.0836)
OKLCHoklch(57.52% 0.199 335.2)
XYZxyz(28.9926, 16.5521, 37.7369)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3CA6 #3CBB51
analogous
#903CBB #BB3CA6 #BB3C66
triadic
#BB3CA6 #A6BB3C #3CA6BB
tetradic
#BB3CA6 #BB903C #3CBB51 #3C66BB
square
#BB3CA6 #BB903C #3CBB51 #3C66BB
split-complementary
#BB3CA6 #66BB3C #3CBB90
monochromatic
#5E1E54 #8D2D7D #BB3CA6 #CE66BD #DD95D1

Accessibility & contrast

On white

4.87
#BB3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BB3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3CA6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3CA6#FFFFFF#000000##FFFFFF
##BB3CA61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A9
Deuteranopia (green-blind)
#6778A3
Tritanopia (blue-blind)
#C4456C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb3ca6;
/* rgb */ color: rgb(187, 60, 166);
/* oklch */ color: oklch(57.5% 0.199 335.2);
Tailwind
colors: {
  custom: {
    50: '#d37cc0',
    500: '#bb3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #bb3ca6;
$custom-light: #d37cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3ca6",
  "rgb": {
    "r": 187,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 309.921,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.19927,
    "h": 335.2
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#BB3CA6
secondary
#8BC895
accent
#DB644D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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