#BB56C2#BB56C2

#BB56C2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.9% C 0.186 H 325.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB56C2
RGBrgb(187, 86, 194)
HSLhsl(296, 47%, 55%)
HSVhsv(296, 56%, 76%)
CMYKcmyk(3.6%, 55.7%, 0%, 23.9%)
CIE-LABlab(53.08, 55.64, -38.56)
CIE-LCHlch(53.08, 67.70, 325.28°)
OKLaboklab(61.89% 0.152 -0.1065)
OKLCHoklch(61.89% 0.186 325)
XYZxyz(33.5581, 21.1172, 53.3369)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56C2 #5DC256
analogous
#8556C2 #BB56C2 #C25693
triadic
#BB56C2 #C2BB56 #56C2BB
tetradic
#BB56C2 #C28556 #5DC256 #5693C2
square
#BB56C2 #C28556 #5DC256 #5693C2
split-complementary
#BB56C2 #93C256 #56C285
monochromatic
#6F2A74 #9A3AA1 #BB56C2 #CD83D2 #DFB0E2

Accessibility & contrast

On white

4.02
#BB56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BB56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56C2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56C2#FFFFFF#000000##000000
##BB56C21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#BF6484
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb56c2;
/* rgb */ color: rgb(187, 86, 194);
/* oklch */ color: oklch(61.9% 0.186 325.0);
Tailwind
colors: {
  custom: {
    50: '#d28bd5',
    500: '#bb56c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb56c2;
$custom-light: #d28bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56c2",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 296.111,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.18565,
    "h": 325
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#BB56C2
secondary
#A6D1A3
accent
#D7515A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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