#D56CEA#D56CEA

#D56CEA is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.0% C 0.203 H 320.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D56CEA
RGBrgb(213, 108, 234)
HSLhsl(290, 75%, 67%)
HSVhsv(290, 54%, 92%)
CMYKcmyk(9%, 53.8%, 0%, 8.2%)
CIE-LABlab(62.35, 59.49, -46.33)
CIE-LCHlch(62.35, 75.40, 322.09°)
OKLaboklab(70.04% 0.1572 -0.1286)
OKLCHoklch(70.04% 0.203 320.7)
XYZxyz(47.6527, 30.8138, 81.2635)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CEA #81EA6C
analogous
#966CEA #D56CEA #EA6CC0
triadic
#D56CEA #EAD56C #6CEAD5
tetradic
#D56CEA #EA966C #81EA6C #6CC0EA
square
#D56CEA #EA966C #81EA6C #6CC0EA
split-complementary
#D56CEA #C0EA6C #6CEA96
monochromatic
#A51BC0 #C636E2 #D56CEA #E4A2F2 #F4D7F9

Accessibility & contrast

On white

2.93
#D56CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D56CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CEA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CEA#FFFFFF#000000##000000
##D56CEA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#779BE7
Tritanopia (blue-blind)
#D77EA1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56cea;
/* rgb */ color: rgb(213, 108, 234);
/* oklch */ color: oklch(70.0% 0.203 320.7);
Tailwind
colors: {
  custom: {
    50: '#e49af1',
    500: '#d56cea',
    950: '#000000',
  },
}
SCSS
$custom: #d56cea;
$custom-light: #e49af1;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cea",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 290,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.20307,
    "h": 320.7
  },
  "luminance": 0.30812
}

Semantic roles & 50–950 ramp

primary
#D56CEA
secondary
#CCEDC5
accent
#D70E30
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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