#D56CF4#D56CF4

#D56CF4 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.6% C 0.213 H 318.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D56CF4
RGBrgb(213, 108, 244)
HSLhsl(286, 86%, 69%)
HSVhsv(286, 56%, 96%)
CMYKcmyk(12.7%, 55.7%, 0%, 4.3%)
CIE-LABlab(62.85, 61.41, -51.09)
CIE-LCHlch(62.85, 79.88, 320.24°)
OKLaboklab(70.57% 0.158 -0.1424)
OKLCHoklch(70.57% 0.213 318)
XYZxyz(49.1300, 31.4048, 89.0442)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CF4 #8BF46C
analogous
#916CF4 #D56CF4 #F46CCF
triadic
#D56CF4 #F4D56C #6CF4D5
tetradic
#D56CF4 #F4916C #8BF46C #6CCFF4
square
#D56CF4 #F4916C #8BF46C #6CCFF4
split-complementary
#D56CF4 #CFF46C #6CF491
monochromatic
#A910D6 #C533F0 #D56CF4 #E5A5F8 #F6DEFD

Accessibility & contrast

On white

2.88
#D56CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D56CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CF4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CF4#FFFFFF#000000##000000
##D56CF41.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D91F8
Deuteranopia (green-blind)
#729BF0
Tritanopia (blue-blind)
#D581A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56cf4;
/* rgb */ color: rgb(213, 108, 244);
/* oklch */ color: oklch(70.6% 0.213 318.0);
Tailwind
colors: {
  custom: {
    50: '#e59bf8',
    500: '#d56cf4',
    950: '#000000',
  },
}
SCSS
$custom: #d56cf4;
$custom-light: #e59bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cf4",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 286.324,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7057,
    "c": 0.21265,
    "h": 318
  },
  "luminance": 0.31403
}

Semantic roles & 50–950 ramp

primary
#D56CF4
secondary
#D3F2CA
accent
#E30336
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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