#BB56DF#BB56DF

#BB56DF is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.213 H 316.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BB56DF
RGBrgb(187, 86, 223)
HSLhsl(284, 68%, 61%)
HSVhsv(284, 61%, 87%)
CMYKcmyk(16.1%, 61.4%, 0%, 12.5%)
CIE-LABlab(54.61, 61.21, -52.67)
CIE-LCHlch(54.61, 80.75, 319.29°)
OKLaboklab(63.5% 0.1535 -0.1475)
OKLCHoklch(63.5% 0.213 316.1)
XYZxyz(37.1386, 22.5494, 72.1939)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56DF #7ADF56
analogous
#7756DF #BB56DF #DF56BE
triadic
#BB56DF #DFBB56 #56DFBB
tetradic
#BB56DF #DF7756 #7ADF56 #56BEDF
square
#BB56DF #DF7756 #7ADF56 #56BEDF
split-complementary
#BB56DF #BEDF56 #56DF77
monochromatic
#7B1E9D #A427D0 #BB56DF #D089E9 #E4BDF2

Accessibility & contrast

On white

3.81
#BB56DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#BB56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56DF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56DF#FFFFFF#000000##000000
##BB56DF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#5786DC
Tritanopia (blue-blind)
#B96E93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb56df;
/* rgb */ color: rgb(187, 86, 223);
/* oklch */ color: oklch(63.5% 0.213 316.1);
Tailwind
colors: {
  custom: {
    50: '#d38be9',
    500: '#bb56df',
    950: '#000000',
  },
}
SCSS
$custom: #bb56df;
$custom-light: #d38be9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56df",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 284.234,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63497,
    "c": 0.21292,
    "h": 316.1
  },
  "luminance": 0.22548
}

Semantic roles & 50–950 ramp

primary
#BB56DF
secondary
#BCE2AE
accent
#D01546
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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