#D56EF1#D56EF1

#D56EF1 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.7% C 0.207 H 318.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D56EF1
RGBrgb(213, 110, 241)
HSLhsl(287, 82%, 69%)
HSVhsv(287, 54%, 95%)
CMYKcmyk(11.6%, 54.4%, 0%, 5.5%)
CIE-LABlab(63.05, 59.88, -49.10)
CIE-LCHlch(63.05, 77.43, 320.65°)
OKLaboklab(70.67% 0.1552 -0.1366)
OKLCHoklch(70.67% 0.207 318.6)
XYZxyz(48.8916, 31.6508, 86.7358)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EF1 #8AF16E
analogous
#946EF1 #D56EF1 #F16ECB
triadic
#D56EF1 #F1D56E #6EF1D5
tetradic
#D56EF1 #F1946E #8AF16E #6ECBF1
square
#D56EF1 #F1946E #8AF16E #6ECBF1
split-complementary
#D56EF1 #CBF16E #6EF194
monochromatic
#A814D0 #C536EC #D56EF1 #E5A6F6 #F5DEFC

Accessibility & contrast

On white

2.87
#D56EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D56EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EF1
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EF1#FFFFFF#000000##000000
##D56EF11.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F5
Deuteranopia (green-blind)
#759CEE
Tritanopia (blue-blind)
#D582A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56ef1;
/* rgb */ color: rgb(213, 110, 241);
/* oklch */ color: oklch(70.7% 0.207 318.6);
Tailwind
colors: {
  custom: {
    50: '#e59cf6',
    500: '#d56ef1',
    950: '#000000',
  },
}
SCSS
$custom: #d56ef1;
$custom-light: #e59cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ef1",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 287.176,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70671,
    "c": 0.20678,
    "h": 318.6
  },
  "luminance": 0.31649
}

Semantic roles & 50–950 ramp

primary
#D56EF1
secondary
#D2F1CA
accent
#DF0735
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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