#DC56E1#DC56E1

#DC56E1 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.230 H 326.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#DC56E1
RGBrgb(220, 86, 225)
HSLhsl(298, 70%, 61%)
HSVhsv(298, 62%, 88%)
CMYKcmyk(2.2%, 61.8%, 0%, 11.8%)
CIE-LABlab(59.26, 69.39, -46.12)
CIE-LCHlch(59.26, 83.32, 326.39°)
OKLaboklab(67.84% 0.1913 -0.1276)
OKLCHoklch(67.84% 0.23 326.3)
XYZxyz(46.4327, 27.3104, 74.0453)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC56E1 #5BE156
analogous
#9656E1 #DC56E1 #E156A0
triadic
#DC56E1 #E1DC56 #56E1DC
tetradic
#DC56E1 #E19656 #5BE156 #56A0E1
square
#DC56E1 #E19656 #5BE156 #56A0E1
split-complementary
#DC56E1 #A0E156 #56E196
monochromatic
#9B1CA0 #CE26D4 #DC56E1 #E78AEA #F2BEF3

Accessibility & contrast

On white

3.25
#DC56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#DC56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC56E1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC56E1#FFFFFF#000000##000000
##DC56E11.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E5
Deuteranopia (green-blind)
#7395DD
Tritanopia (blue-blind)
#E26994
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc56e1;
/* rgb */ color: rgb(220, 86, 225);
/* oklch */ color: oklch(67.8% 0.230 326.3);
Tailwind
colors: {
  custom: {
    50: '#ea8eeb',
    500: '#dc56e1',
    950: '#000000',
  },
}
SCSS
$custom: #dc56e1;
$custom-light: #ea8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc56e1",
  "rgb": {
    "r": 220,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 297.842,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67838,
    "c": 0.22992,
    "h": 326.3
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

primary
#DC56E1
secondary
#B1E4AF
accent
#D2141B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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