#BB56D2#BB56D2

#BB56D2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 62.8% C 0.201 H 319.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BB56D2
RGBrgb(187, 86, 210)
HSLhsl(289, 58%, 58%)
HSVhsv(289, 59%, 82%)
CMYKcmyk(11%, 59%, 0%, 17.6%)
CIE-LABlab(53.89, 58.65, -46.43)
CIE-LCHlch(53.89, 74.80, 321.64°)
OKLaboklab(62.75% 0.1532 -0.1293)
OKLCHoklch(62.75% 0.201 319.8)
XYZxyz(35.4527, 21.8751, 63.3151)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56D2 #6DD256
analogous
#7D56D2 #BB56D2 #D256AB
triadic
#BB56D2 #D2BB56 #56D2BB
tetradic
#BB56D2 #D27D56 #6DD256 #56ABD2
square
#BB56D2 #D27D56 #6DD256 #56ABD2
split-complementary
#BB56D2 #ABD256 #56D27D
monochromatic
#762589 #A031B9 #BB56D2 #CE86DF #E2B7EC

Accessibility & contrast

On white

3.91
#BB56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BB56D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56D2#FFFFFF#000000##000000
##BB56D21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#6084CF
Tritanopia (blue-blind)
#BC6A8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb56d2;
/* rgb */ color: rgb(187, 86, 210);
/* oklch */ color: oklch(62.8% 0.201 319.8);
Tailwind
colors: {
  custom: {
    50: '#d28be0',
    500: '#bb56d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb56d2;
$custom-light: #d28be0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56d2",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 288.871,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.20051,
    "h": 319.8
  },
  "luminance": 0.21874
}

Semantic roles & 50–950 ramp

primary
#BB56D2
secondary
#B2DBA9
accent
#E14763
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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