#BB56C1#BB56C1

#BB56C1 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.8% C 0.185 H 325.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB56C1
RGBrgb(187, 86, 193)
HSLhsl(297, 46%, 55%)
HSVhsv(297, 55%, 76%)
CMYKcmyk(3.1%, 55.4%, 0%, 24.3%)
CIE-LABlab(53.03, 55.46, -38.06)
CIE-LCHlch(53.03, 67.26, 325.54°)
OKLaboklab(61.84% 0.1519 -0.1051)
OKLCHoklch(61.84% 0.185 325.3)
XYZxyz(33.4462, 21.0725, 52.7474)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56C1 #5CC156
analogous
#8656C1 #BB56C1 #C15691
triadic
#BB56C1 #C1BB56 #56C1BB
tetradic
#BB56C1 #C18656 #5CC156 #5691C1
square
#BB56C1 #C18656 #5CC156 #5691C1
split-complementary
#BB56C1 #91C156 #56C186
monochromatic
#6F2A73 #9A3A9F #BB56C1 #CD83D1 #DFB0E2

Accessibility & contrast

On white

4.03
#BB56C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BB56C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56C1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56C1#FFFFFF#000000##000000
##BB56C11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C4
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#BF6483
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb56c1;
/* rgb */ color: rgb(187, 86, 193);
/* oklch */ color: oklch(61.8% 0.185 325.3);
Tailwind
colors: {
  custom: {
    50: '#d28bd4',
    500: '#bb56c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb56c1;
$custom-light: #d28bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56c1",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 193
  },
  "hsl": {
    "h": 296.636,
    "s": 46.32,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.18474,
    "h": 325.3
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#BB56C1
secondary
#A5D0A3
accent
#D65259
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB56C1

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

Preview Lab → · Contrast checker → · Palette generator →

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