#B56CD2#B56CD2

#B56CD2 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.1% C 0.164 H 315.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B56CD2
RGBrgb(181, 108, 210)
HSLhsl(283, 53%, 62%)
HSVhsv(283, 49%, 82%)
CMYKcmyk(13.8%, 48.6%, 0%, 17.6%)
CIE-LABlab(57.27, 46.10, -41.14)
CIE-LCHlch(57.27, 61.78, 318.26°)
OKLaboklab(65.08% 0.117 -0.1143)
OKLCHoklch(65.08% 0.164 315.7)
XYZxyz(36.0497, 25.2031, 63.9259)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CD2 #89D26C
analogous
#826CD2 #B56CD2 #D26CBC
triadic
#B56CD2 #D2B56C #6CD2B5
tetradic
#B56CD2 #D2826C #89D26C #6CBCD2
square
#B56CD2 #D2826C #89D26C #6CBCD2
split-complementary
#B56CD2 #BCD26C #6CD282
monochromatic
#782E96 #9D3DC4 #B56CD2 #CD9BE0 #E4CAEF

Accessibility & contrast

On white

3.48
#B56CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B56CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CD2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CD2#FFFFFF#000000##000000
##B56CD21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D6
Deuteranopia (green-blind)
#6D8CCF
Tritanopia (blue-blind)
#B37B95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b56cd2;
/* rgb */ color: rgb(181, 108, 210);
/* oklch */ color: oklch(65.1% 0.164 315.7);
Tailwind
colors: {
  custom: {
    50: '#cd98e0',
    500: '#b56cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b56cd2;
$custom-light: #cd98e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cd2",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 282.941,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65075,
    "c": 0.16352,
    "h": 315.7
  },
  "luminance": 0.25202
}

Semantic roles & 50–950 ramp

primary
#B56CD2
secondary
#C5E0BA
accent
#C12551
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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