#B56DCB#B56DCB

#B56DCB is a light, vivid purple. Relative luminance 0.251; OKLCH L 64.9% C 0.154 H 317.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B56DCB
RGBrgb(181, 109, 203)
HSLhsl(286, 47%, 61%)
HSVhsv(286, 46%, 80%)
CMYKcmyk(10.8%, 46.3%, 0%, 20.4%)
CIE-LABlab(57.15, 44.12, -37.37)
CIE-LCHlch(57.15, 57.82, 319.74°)
OKLaboklab(64.87% 0.1145 -0.1034)
OKLCHoklch(64.87% 0.154 317.9)
XYZxyz(35.3027, 25.0740, 59.4685)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DCB #83CB6D
analogous
#866DCB #B56DCB #CB6DB2
triadic
#B56DCB #CBB56D #6DCBB5
tetradic
#B56DCB #CB866D #83CB6D #6DB2CB
square
#B56DCB #CB866D #83CB6D #6DB2CB
split-complementary
#B56DCB #B2CB6D #6DCB86
monochromatic
#77328C #9D42B9 #B56DCB #CC9ADB #E3C7EB

Accessibility & contrast

On white

3.49
#B56DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B56DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DCB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DCB#FFFFFF#000000##000000
##B56DCB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CE
Deuteranopia (green-blind)
#718CC8
Tritanopia (blue-blind)
#B57A92
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b56dcb;
/* rgb */ color: rgb(181, 109, 203);
/* oklch */ color: oklch(64.9% 0.154 317.9);
Tailwind
colors: {
  custom: {
    50: '#cd99db',
    500: '#b56dcb',
    950: '#000000',
  },
}
SCSS
$custom: #b56dcb;
$custom-light: #cd99db;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dcb",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 203
  },
  "hsl": {
    "h": 285.957,
    "s": 47.475,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64873,
    "c": 0.1543,
    "h": 317.9
  },
  "luminance": 0.25073
}

Semantic roles & 50–950 ramp

primary
#B56DCB
secondary
#C1DCB8
accent
#BB2B4C
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B56DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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