#B56CD3#B56CD3

#B56CD3 is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.1% C 0.165 H 315.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B56CD3
RGBrgb(181, 108, 211)
HSLhsl(283, 54%, 63%)
HSVhsv(283, 49%, 83%)
CMYKcmyk(14.2%, 48.8%, 0%, 17.3%)
CIE-LABlab(57.32, 46.31, -41.63)
CIE-LCHlch(57.32, 62.27, 318.05°)
OKLaboklab(65.13% 0.1171 -0.1157)
OKLCHoklch(65.13% 0.165 315.3)
XYZxyz(36.1747, 25.2531, 64.5841)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CD3 #8AD36C
analogous
#816CD3 #B56CD3 #D36CBE
triadic
#B56CD3 #D3B56C #6CD3B5
tetradic
#B56CD3 #D3816C #8AD36C #6CBED3
square
#B56CD3 #D3816C #8AD36C #6CBED3
split-complementary
#B56CD3 #BED36C #6CD381
monochromatic
#782D97 #9D3DC5 #B56CD3 #CD9BE1 #E4CAEF

Accessibility & contrast

On white

3.47
#B56CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B56CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CD3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CD3#FFFFFF#000000##000000
##B56CD31.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D7
Deuteranopia (green-blind)
#6C8CD0
Tritanopia (blue-blind)
#B37B96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56cd3;
/* rgb */ color: rgb(181, 108, 211);
/* oklch */ color: oklch(65.1% 0.165 315.3);
Tailwind
colors: {
  custom: {
    50: '#cd98e1',
    500: '#b56cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b56cd3;
$custom-light: #cd98e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cd3",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 211
  },
  "hsl": {
    "h": 282.524,
    "s": 53.927,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65126,
    "c": 0.1646,
    "h": 315.3
  },
  "luminance": 0.25252
}

Semantic roles & 50–950 ramp

primary
#B56CD3
secondary
#C6E0BB
accent
#C12452
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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