#B56CCC#B56CCC

#B56CCC is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.8% C 0.157 H 317.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B56CCC
RGBrgb(181, 108, 204)
HSLhsl(286, 48%, 61%)
HSVhsv(286, 47%, 80%)
CMYKcmyk(11.3%, 47.1%, 0%, 20%)
CIE-LABlab(56.99, 44.86, -38.19)
CIE-LCHlch(56.99, 58.91, 319.59°)
OKLaboklab(64.77% 0.1161 -0.1057)
OKLCHoklch(64.77% 0.157 317.7)
XYZxyz(35.3162, 24.9097, 60.0627)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CCC #83CC6C
analogous
#856CCC #B56CCC #CC6CB3
triadic
#B56CCC #CCB56C #6CCCB5
tetradic
#B56CCC #CC856C #83CC6C #6CB3CC
square
#B56CCC #CC856C #83CC6C #6CB3CC
split-complementary
#B56CCC #B3CC6C #6CCC85
monochromatic
#77318D #9D41BA #B56CCC #CC99DC #E3C7EC

Accessibility & contrast

On white

3.51
#B56CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B56CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CCC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CCC#FFFFFF#000000##000000
##B56CCC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#B57992
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b56ccc;
/* rgb */ color: rgb(181, 108, 204);
/* oklch */ color: oklch(64.8% 0.157 317.7);
Tailwind
colors: {
  custom: {
    50: '#cd98dc',
    500: '#b56ccc',
    950: '#000000',
  },
}
SCSS
$custom: #b56ccc;
$custom-light: #cd98dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ccc",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 285.625,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.15705,
    "h": 317.7
  },
  "luminance": 0.24909
}

Semantic roles & 50–950 ramp

primary
#B56CCC
secondary
#C1DCB8
accent
#BC2A4D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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