#BB56DC#BB56DC

#BB56DC is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.3% C 0.210 H 317.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BB56DC
RGBrgb(187, 86, 220)
HSLhsl(285, 66%, 60%)
HSVhsv(285, 61%, 86%)
CMYKcmyk(15%, 60.9%, 0%, 13.7%)
CIE-LABlab(54.44, 60.61, -51.24)
CIE-LCHlch(54.44, 79.36, 319.79°)
OKLaboklab(63.32% 0.1535 -0.1434)
OKLCHoklch(63.32% 0.21 317)
XYZxyz(36.7377, 22.3891, 70.0826)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56DC #77DC56
analogous
#7856DC #BB56DC #DC56BA
triadic
#BB56DC #DCBB56 #56DCBB
tetradic
#BB56DC #DC7856 #77DC56 #56BADC
square
#BB56DC #DC7856 #77DC56 #56BADC
split-complementary
#BB56DC #BADC56 #56DC78
monochromatic
#7A2098 #A32ACB #BB56DC #CF89E6 #E4BBF1

Accessibility & contrast

On white

3.83
#BB56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#BB56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56DC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56DC#FFFFFF#000000##000000
##BB56DC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#5985D9
Tritanopia (blue-blind)
#BA6D91
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb56dc;
/* rgb */ color: rgb(187, 86, 220);
/* oklch */ color: oklch(63.3% 0.210 317.0);
Tailwind
colors: {
  custom: {
    50: '#d38be7',
    500: '#bb56dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb56dc;
$custom-light: #d38be7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56dc",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 285.224,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.63321,
    "c": 0.21003,
    "h": 317
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#BB56DC
secondary
#BAE1AD
accent
#E93F69
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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