#D56EF7#D56EF7

#D56EF7 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.0% C 0.213 H 317.1°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D56EF7
RGBrgb(213, 110, 247)
HSLhsl(285, 90%, 70%)
HSVhsv(285, 55%, 97%)
CMYKcmyk(13.8%, 55.5%, 0%, 3.1%)
CIE-LABlab(63.36, 61.05, -51.94)
CIE-LCHlch(63.36, 80.15, 319.61°)
OKLaboklab(70.99% 0.1556 -0.1449)
OKLCHoklch(70.99% 0.213 317.1)
XYZxyz(49.8026, 32.0152, 91.5338)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EF7 #90F76E
analogous
#906EF7 #D56EF7 #F76ED5
triadic
#D56EF7 #F7D56E #6EF7D5
tetradic
#D56EF7 #F7906E #90F76E #6ED5F7
square
#D56EF7 #F7906E #90F76E #6ED5F7
split-complementary
#D56EF7 #D5F76E #6EF790
monochromatic
#AA0CDE #C434F4 #D56EF7 #E6A8FA #F7E2FD

Accessibility & contrast

On white

2.84
#D56EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D56EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EF7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EF7#FFFFFF#000000##000000
##D56EF71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#719DF3
Tritanopia (blue-blind)
#D484A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56ef7;
/* rgb */ color: rgb(213, 110, 247);
/* oklch */ color: oklch(71.0% 0.213 317.1);
Tailwind
colors: {
  custom: {
    50: '#e59cfa',
    500: '#d56ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d56ef7;
$custom-light: #e59cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ef7",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 285.109,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.70991,
    "c": 0.21261,
    "h": 317.1
  },
  "luminance": 0.32013
}

Semantic roles & 50–950 ramp

primary
#D56EF7
secondary
#D7F4CD
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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