#B56CD9#B56CD9

#B56CD9 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.4% C 0.171 H 313.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B56CD9
RGBrgb(181, 108, 217)
HSLhsl(280, 59%, 64%)
HSVhsv(280, 50%, 85%)
CMYKcmyk(16.6%, 50.2%, 0%, 14.9%)
CIE-LABlab(57.62, 47.58, -44.55)
CIE-LCHlch(57.62, 65.17, 316.88°)
OKLaboklab(65.44% 0.1178 -0.1242)
OKLCHoklch(65.44% 0.171 313.5)
XYZxyz(36.9409, 25.5596, 68.6197)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CD9 #90D96C
analogous
#7E6CD9 #B56CD9 #D96CC7
triadic
#B56CD9 #D9B56C #6CD9B5
tetradic
#B56CD9 #D97E6C #90D96C #6CC7D9
square
#B56CD9 #D97E6C #90D96C #6CC7D9
split-complementary
#B56CD9 #C7D96C #6CD97E
monochromatic
#7A2AA1 #9D3BCC #B56CD9 #CD9DE6 #E6CDF2

Accessibility & contrast

On white

3.44
#B56CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B56CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CD9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CD9#FFFFFF#000000##000000
##B56CD91.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DD
Deuteranopia (green-blind)
#698CD6
Tritanopia (blue-blind)
#B27D99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56cd9;
/* rgb */ color: rgb(181, 108, 217);
/* oklch */ color: oklch(65.4% 0.171 313.5);
Tailwind
colors: {
  custom: {
    50: '#cd98e5',
    500: '#b56cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b56cd9;
$custom-light: #cd98e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cd9",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 280.183,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65442,
    "c": 0.17115,
    "h": 313.5
  },
  "luminance": 0.25559
}

Semantic roles & 50–950 ramp

primary
#B56CD9
secondary
#CAE4BD
accent
#C71F56
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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