#BB56AB#BB56AB

#BB56AB is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.166 H 333.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB56AB
RGBrgb(187, 86, 171)
HSLhsl(310, 43%, 54%)
HSVhsv(310, 54%, 73%)
CMYKcmyk(0%, 54%, 8.6%, 26.7%)
CIE-LABlab(52.02, 51.62, -26.88)
CIE-LCHlch(52.02, 58.19, 332.49°)
OKLaboklab(60.77% 0.1487 -0.073)
OKLCHoklch(60.77% 0.166 333.8)
XYZxyz(31.1720, 20.1628, 40.7702)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56AB #56BB66
analogous
#9856BB #BB56AB #BB5678
triadic
#BB56AB #ABBB56 #56ABBB
tetradic
#BB56AB #BB9856 #56BB66 #5678BB
square
#BB56AB #BB9856 #56BB66 #5678BB
split-complementary
#BB56AB #78BB56 #56BB98
monochromatic
#6B2B61 #973D89 #BB56AB #CD82C1 #DEADD6

Accessibility & contrast

On white

4.17
#BB56AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BB56AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56AB#FFFFFF#000000##000000
##BB56AB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#7281A8
Tritanopia (blue-blind)
#C35C79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb56ab;
/* rgb */ color: rgb(187, 86, 171);
/* oklch */ color: oklch(60.8% 0.166 333.8);
Tailwind
colors: {
  custom: {
    50: '#d28ac4',
    500: '#bb56ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb56ab;
$custom-light: #d28ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56ab",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 309.505,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.1657,
    "h": 333.8
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#BB56AB
secondary
#A1CCA8
accent
#D26955
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB56AB

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

Preview Lab → · Contrast checker → · Palette generator →

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