#D56CE4#D56CE4

#D56CE4 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.7% C 0.197 H 322.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D56CE4
RGBrgb(213, 108, 228)
HSLhsl(293, 69%, 66%)
HSVhsv(293, 53%, 89%)
CMYKcmyk(6.6%, 52.6%, 0%, 10.6%)
CIE-LABlab(62.06, 58.37, -43.44)
CIE-LCHlch(62.06, 72.76, 323.34°)
OKLaboklab(69.74% 0.1566 -0.1202)
OKLCHoklch(69.74% 0.197 322.5)
XYZxyz(46.8053, 30.4749, 76.8006)
Luminance0.3047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CE4 #7BE46C
analogous
#996CE4 #D56CE4 #E46CB7
triadic
#D56CE4 #E4D56C #6CE4D5
tetradic
#D56CE4 #E4996C #7BE46C #6CB7E4
square
#D56CE4 #E4996C #7BE46C #6CB7E4
split-complementary
#D56CE4 #B7E46C #6CE499
monochromatic
#A221B4 #C638DB #D56CE4 #E4A0ED #F3D3F7

Accessibility & contrast

On white

2.96
#D56CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D56CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CE4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CE4#FFFFFF#000000##000000
##D56CE41.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE8
Deuteranopia (green-blind)
#7B9AE1
Tritanopia (blue-blind)
#D87C9E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d56ce4;
/* rgb */ color: rgb(213, 108, 228);
/* oklch */ color: oklch(69.7% 0.197 322.5);
Tailwind
colors: {
  custom: {
    50: '#e49aed',
    500: '#d56ce4',
    950: '#000000',
  },
}
SCSS
$custom: #d56ce4;
$custom-light: #e49aed;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ce4",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 292.5,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.19741,
    "h": 322.5
  },
  "luminance": 0.30473
}

Semantic roles & 50–950 ramp

primary
#D56CE4
secondary
#C7EAC2
accent
#D1152C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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