#B56DD2#B56DD2

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

Color values

HEX#B56DD2
RGBrgb(181, 109, 210)
HSLhsl(283, 53%, 63%)
HSVhsv(283, 48%, 82%)
CMYKcmyk(13.8%, 48.1%, 0%, 17.6%)
CIE-LABlab(57.48, 45.57, -40.81)
CIE-LCHlch(57.48, 61.18, 318.15°)
OKLaboklab(65.23% 0.1156 -0.1133)
OKLCHoklch(65.23% 0.162 315.6)
XYZxyz(36.1558, 25.4152, 63.9613)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DD2 #8AD26D
analogous
#826DD2 #B56DD2 #D26DBD
triadic
#B56DD2 #D2B56D #6DD2B5
tetradic
#B56DD2 #D2826D #8AD26D #6DBDD2
square
#B56DD2 #D2826D #8AD26D #6DBDD2
split-complementary
#B56DD2 #BDD26D #6DD282
monochromatic
#782E96 #9D3EC4 #B56DD2 #CD9CE0 #E4CBEF

Accessibility & contrast

On white

3.45
#B56DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B56DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DD2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DD2#FFFFFF#000000##000000
##B56DD21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#6E8CCF
Tritanopia (blue-blind)
#B37C96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56dd2;
/* rgb */ color: rgb(181, 109, 210);
/* oklch */ color: oklch(65.2% 0.162 315.6);
Tailwind
colors: {
  custom: {
    50: '#cd99e0',
    500: '#b56dd2',
    950: '#000000',
  },
}
SCSS
$custom: #b56dd2;
$custom-light: #cd99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dd2",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 210
  },
  "hsl": {
    "h": 282.772,
    "s": 52.88,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65227,
    "c": 0.16187,
    "h": 315.6
  },
  "luminance": 0.25414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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