#BB56BC#BB56BC

#BB56BC is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.180 H 327.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB56BC
RGBrgb(187, 86, 188)
HSLhsl(299, 43%, 54%)
HSVhsv(299, 54%, 74%)
CMYKcmyk(0.5%, 54.3%, 0%, 26.3%)
CIE-LABlab(52.79, 54.56, -35.55)
CIE-LCHlch(52.79, 65.12, 326.91°)
OKLaboklab(61.58% 0.1514 -0.0979)
OKLCHoklch(61.58% 0.18 327.1)
XYZxyz(32.8978, 20.8531, 49.8595)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56BC #57BC56
analogous
#8856BC #BB56BC #BC568A
triadic
#BB56BC #BCBB56 #56BCBB
tetradic
#BB56BC #BC8856 #57BC56 #568ABC
square
#BB56BC #BC8856 #57BC56 #568ABC
split-complementary
#BB56BC #8ABC56 #56BC88
monochromatic
#6C2B6D #973C98 #BB56BC #CD82CD #DEAEDF

Accessibility & contrast

On white

4.06
#BB56BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BB56BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56BC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56BC#FFFFFF#000000##000000
##BB56BC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B76BF
Deuteranopia (green-blind)
#6B83B9
Tritanopia (blue-blind)
#C06281
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb56bc;
/* rgb */ color: rgb(187, 86, 188);
/* oklch */ color: oklch(61.6% 0.180 327.1);
Tailwind
colors: {
  custom: {
    50: '#d28ad0',
    500: '#bb56bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb56bc;
$custom-light: #d28ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56bc",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 299.412,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.18025,
    "h": 327.1
  },
  "luminance": 0.20851
}

Semantic roles & 50–950 ramp

primary
#BB56BC
secondary
#A2CDA1
accent
#D35556
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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