#B56CD6#B56CD6

#B56CD6 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.3% C 0.168 H 314.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B56CD6
RGBrgb(181, 108, 214)
HSLhsl(281, 56%, 63%)
HSVhsv(281, 50%, 84%)
CMYKcmyk(15.4%, 49.5%, 0%, 16.1%)
CIE-LABlab(57.47, 46.94, -43.09)
CIE-LCHlch(57.47, 63.72, 317.45°)
OKLaboklab(65.28% 0.1175 -0.1199)
OKLCHoklch(65.28% 0.168 314.4)
XYZxyz(36.5543, 25.4049, 66.5833)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CD6 #8DD66C
analogous
#806CD6 #B56CD6 #D66CC2
triadic
#B56CD6 #D6B56C #6CD6B5
tetradic
#B56CD6 #D6806C #8DD66C #6CC2D6
square
#B56CD6 #D6806C #8DD66C #6CC2D6
split-complementary
#B56CD6 #C2D66C #6CD680
monochromatic
#792C9C #9D3CC9 #B56CD6 #CD9CE3 #E5CCF1

Accessibility & contrast

On white

3.45
#B56CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B56CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CD6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CD6#FFFFFF#000000##000000
##B56CD61.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586DA
Deuteranopia (green-blind)
#6A8CD3
Tritanopia (blue-blind)
#B37C97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56cd6;
/* rgb */ color: rgb(181, 108, 214);
/* oklch */ color: oklch(65.3% 0.168 314.4);
Tailwind
colors: {
  custom: {
    50: '#cd98e3',
    500: '#b56cd6',
    950: '#000000',
  },
}
SCSS
$custom: #b56cd6;
$custom-light: #cd98e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cd6",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 281.321,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65283,
    "c": 0.16788,
    "h": 314.4
  },
  "luminance": 0.25404
}

Semantic roles & 50–950 ramp

primary
#B56CD6
secondary
#C8E2BC
accent
#C42254
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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