#BB3BA7#BB3BA7

#BB3BA7 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.201 H 334.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BB3BA7
RGBrgb(187, 59, 167)
HSLhsl(309, 52%, 48%)
HSVhsv(309, 68%, 73%)
CMYKcmyk(0%, 68.4%, 10.7%, 26.7%)
CIE-LABlab(47.60, 62.58, -31.40)
CIE-LCHlch(47.60, 70.01, 333.35°)
OKLaboklab(57.48% 0.1821 -0.0857)
OKLCHoklch(57.48% 0.201 334.8)
XYZxyz(29.0328, 16.4852, 38.2046)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3BA7 #3BBB4F
analogous
#8F3BBB #BB3BA7 #BB3B67
triadic
#BB3BA7 #A7BB3B #3BA7BB
tetradic
#BB3BA7 #BB8F3B #3BBB4F #3B67BB
square
#BB3BA7 #BB8F3B #3BBB4F #3B67BB
split-complementary
#BB3BA7 #67BB3B #3BBB8F
monochromatic
#5E1E54 #8C2C7D #BB3BA7 #CE65BE #DD93D2

Accessibility & contrast

On white

4.89
#BB3BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BB3BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3BA7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3BA7#FFFFFF#000000##FFFFFF
##BB3BA71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#C4456C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb3ba7;
/* rgb */ color: rgb(187, 59, 167);
/* oklch */ color: oklch(57.5% 0.201 334.8);
Tailwind
colors: {
  custom: {
    50: '#d37bc1',
    500: '#bb3ba7',
    950: '#000000',
  },
}
SCSS
$custom: #bb3ba7;
$custom-light: #d37bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3ba7",
  "rgb": {
    "r": 187,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 309.375,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.20124,
    "h": 334.8
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#BB3BA7
secondary
#8AC893
accent
#DB634C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB3BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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