#DC56E4#DC56E4

#DC56E4 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.0% C 0.232 H 325.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#DC56E4
RGBrgb(220, 86, 228)
HSLhsl(297, 72%, 62%)
HSVhsv(297, 62%, 89%)
CMYKcmyk(3.5%, 62.3%, 0%, 10.6%)
CIE-LABlab(59.41, 69.90, -47.56)
CIE-LCHlch(59.41, 84.55, 325.77°)
OKLaboklab(68% 0.1914 -0.1318)
OKLCHoklch(68% 0.232 325.4)
XYZxyz(46.8455, 27.4755, 76.2196)
Luminance0.2747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC56E4 #5EE456
analogous
#9556E4 #DC56E4 #E456A5
triadic
#DC56E4 #E4DC56 #56E4DC
tetradic
#DC56E4 #E49556 #5EE456 #56A5E4
square
#DC56E4 #E49556 #5EE456 #56A5E4
split-complementary
#DC56E4 #A5E456 #56E495
monochromatic
#9D1AA5 #D023DA #DC56E4 #E78BEC #F2C0F5

Accessibility & contrast

On white

3.23
#DC56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#DC56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC56E4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC56E4#FFFFFF#000000##000000
##DC56E41.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E8
Deuteranopia (green-blind)
#7195E0
Tritanopia (blue-blind)
#E16A96
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc56e4;
/* rgb */ color: rgb(220, 86, 228);
/* oklch */ color: oklch(68.0% 0.232 325.4);
Tailwind
colors: {
  custom: {
    50: '#ea8eed',
    500: '#dc56e4',
    950: '#000000',
  },
}
SCSS
$custom: #dc56e4;
$custom-light: #ea8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#dc56e4",
  "rgb": {
    "r": 220,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 296.62,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67997,
    "c": 0.23239,
    "h": 325.4
  },
  "luminance": 0.27473
}

Semantic roles & 50–950 ramp

primary
#DC56E4
secondary
#B3E5B0
accent
#D5111C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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