#B56CD5#B56CD5

#B56CD5 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.2% C 0.167 H 314.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B56CD5
RGBrgb(181, 108, 213)
HSLhsl(282, 56%, 63%)
HSVhsv(282, 49%, 84%)
CMYKcmyk(15%, 49.3%, 0%, 16.5%)
CIE-LABlab(57.42, 46.73, -42.60)
CIE-LCHlch(57.42, 63.23, 317.64°)
OKLaboklab(65.23% 0.1173 -0.1185)
OKLCHoklch(65.23% 0.167 314.7)
XYZxyz(36.4269, 25.3540, 65.9128)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CD5 #8CD56C
analogous
#806CD5 #B56CD5 #D56CC1
triadic
#B56CD5 #D5B56C #6CD5B5
tetradic
#B56CD5 #D5806C #8CD56C #6CC1D5
square
#B56CD5 #D5806C #8CD56C #6CC1D5
split-complementary
#B56CD5 #C1D56C #6CD580
monochromatic
#792C9A #9D3CC7 #B56CD5 #CD9CE3 #E5CBF0

Accessibility & contrast

On white

3.46
#B56CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B56CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CD5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CD5#FFFFFF#000000##000000
##B56CD51.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b56cd5;
/* rgb */ color: rgb(181, 108, 213);
/* oklch */ color: oklch(65.2% 0.167 314.7);
Tailwind
colors: {
  custom: {
    50: '#cd98e2',
    500: '#b56cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b56cd5;
$custom-light: #cd98e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cd5",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 281.714,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65231,
    "c": 0.16678,
    "h": 314.7
  },
  "luminance": 0.25353
}

Semantic roles & 50–950 ramp

primary
#B56CD5
secondary
#C7E1BB
accent
#C32253
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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