#D56FE4#D56FE4

#D56FE4 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.193 H 322.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D56FE4
RGBrgb(213, 111, 228)
HSLhsl(292, 68%, 66%)
HSVhsv(292, 51%, 89%)
CMYKcmyk(6.6%, 51.3%, 0%, 10.6%)
CIE-LABlab(62.61, 56.92, -42.58)
CIE-LCHlch(62.61, 71.08, 323.20°)
OKLaboklab(70.14% 0.1526 -0.1177)
OKLCHoklch(70.14% 0.193 322.3)
XYZxyz(47.1271, 31.1186, 76.9078)
Luminance0.3112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FE4 #7EE46F
analogous
#9B6FE4 #D56FE4 #E46FB9
triadic
#D56FE4 #E4D56F #6FE4D5
tetradic
#D56FE4 #E49B6F #7EE46F #6FB9E4
square
#D56FE4 #E49B6F #7EE46F #6FB9E4
split-complementary
#D56FE4 #B9E46F #6FE49B
monochromatic
#A322B6 #C63BDA #D56FE4 #E4A3EE #F3D6F7

Accessibility & contrast

On white

2.91
#D56FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#D56FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56FE4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FE4#FFFFFF#000000##000000
##D56FE41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#7D9BE1
Tritanopia (blue-blind)
#D87E9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56fe4;
/* rgb */ color: rgb(213, 111, 228);
/* oklch */ color: oklch(70.1% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#e49ced',
    500: '#d56fe4',
    950: '#000000',
  },
}
SCSS
$custom: #d56fe4;
$custom-light: #e49ced;
$custom-dark: #000000;
JSON
{
  "hex": "#d56fe4",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 292.308,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70139,
    "c": 0.19276,
    "h": 322.3
  },
  "luminance": 0.31116
}

Semantic roles & 50–950 ramp

primary
#D56FE4
secondary
#C9EAC4
accent
#D0152D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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