#BB56C4#BB56C4

#BB56C4 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 62.0% C 0.187 H 324.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB56C4
RGBrgb(187, 86, 196)
HSLhsl(295, 48%, 55%)
HSVhsv(295, 56%, 77%)
CMYKcmyk(4.6%, 56.1%, 0%, 23.1%)
CIE-LABlab(53.18, 56.01, -39.55)
CIE-LCHlch(53.18, 68.57, 324.77°)
OKLaboklab(61.99% 0.1522 -0.1094)
OKLCHoklch(61.99% 0.187 324.3)
XYZxyz(33.7842, 21.2077, 54.5278)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56C4 #5FC456
analogous
#8456C4 #BB56C4 #C45696
triadic
#BB56C4 #C4BB56 #56C4BB
tetradic
#BB56C4 #C48456 #5FC456 #5696C4
square
#BB56C4 #C48456 #5FC456 #5696C4
split-complementary
#BB56C4 #96C456 #56C484
monochromatic
#702976 #9B39A4 #BB56C4 #CD83D4 #E0B1E4

Accessibility & contrast

On white

4.01
#BB56C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB56C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56C4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56C4#FFFFFF#000000##000000
##BB56C41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4677C7
Deuteranopia (green-blind)
#6783C1
Tritanopia (blue-blind)
#BF6585
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb56c4;
/* rgb */ color: rgb(187, 86, 196);
/* oklch */ color: oklch(62.0% 0.187 324.3);
Tailwind
colors: {
  custom: {
    50: '#d28bd6',
    500: '#bb56c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb56c4;
$custom-light: #d28bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56c4",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 295.091,
    "s": 48.246,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.18748,
    "h": 324.3
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#BB56C4
secondary
#A8D2A4
accent
#D8505B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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