#DC56E2#DC56E2

#DC56E2 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.9% C 0.231 H 326.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#DC56E2
RGBrgb(220, 86, 226)
HSLhsl(297, 71%, 61%)
HSVhsv(297, 62%, 89%)
CMYKcmyk(2.7%, 61.9%, 0%, 11.4%)
CIE-LABlab(59.31, 69.56, -46.60)
CIE-LCHlch(59.31, 83.73, 326.18°)
OKLaboklab(67.89% 0.1913 -0.129)
OKLCHoklch(67.89% 0.231 326)
XYZxyz(46.5695, 27.3651, 74.7659)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC56E2 #5CE256
analogous
#9656E2 #DC56E2 #E256A2
triadic
#DC56E2 #E2DC56 #56E2DC
tetradic
#DC56E2 #E29656 #5CE256 #56A2E2
square
#DC56E2 #E29656 #5CE256 #56A2E2
split-complementary
#DC56E2 #A2E256 #56E296
monochromatic
#9C1CA2 #CE25D6 #DC56E2 #E78AEB #F2BEF4

Accessibility & contrast

On white

3.24
#DC56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#DC56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC56E2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC56E2#FFFFFF#000000##000000
##DC56E21.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E6
Deuteranopia (green-blind)
#7295DE
Tritanopia (blue-blind)
#E16A95
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc56e2;
/* rgb */ color: rgb(220, 86, 226);
/* oklch */ color: oklch(67.9% 0.231 326.0);
Tailwind
colors: {
  custom: {
    50: '#ea8eeb',
    500: '#dc56e2',
    950: '#000000',
  },
}
SCSS
$custom: #dc56e2;
$custom-light: #ea8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc56e2",
  "rgb": {
    "r": 220,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 297.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67891,
    "c": 0.23074,
    "h": 326
  },
  "luminance": 0.27362
}

Semantic roles & 50–950 ramp

primary
#DC56E2
secondary
#B2E4B0
accent
#D3131B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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