#DC56E5#DC56E5

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

Color values

HEX#DC56E5
RGBrgb(220, 86, 229)
HSLhsl(296, 73%, 62%)
HSVhsv(296, 62%, 90%)
CMYKcmyk(3.9%, 62.4%, 0%, 10.2%)
CIE-LABlab(59.46, 70.07, -48.04)
CIE-LCHlch(59.46, 84.96, 325.57°)
OKLaboklab(68.05% 0.1914 -0.1332)
OKLCHoklch(68.05% 0.233 325.2)
XYZxyz(46.9848, 27.5312, 76.9528)
Luminance0.2753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC56E5 #5FE556
analogous
#9556E5 #DC56E5 #E556A7
triadic
#DC56E5 #E5DC56 #56E5DC
tetradic
#DC56E5 #E59556 #5FE556 #56A7E5
square
#DC56E5 #E59556 #5FE556 #56A7E5
split-complementary
#DC56E5 #A7E556 #56E595
monochromatic
#9E1AA7 #D022DC #DC56E5 #E78BED #F2C0F5

Accessibility & contrast

On white

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

On black

6.51
#DC56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC56E5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC56E5#FFFFFF#000000##000000
##DC56E51.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85E9
Deuteranopia (green-blind)
#7195E1
Tritanopia (blue-blind)
#E16B96
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc56e5;
/* rgb */ color: rgb(220, 86, 229);
/* oklch */ color: oklch(68.0% 0.233 325.2);
Tailwind
colors: {
  custom: {
    50: '#ea8eee',
    500: '#dc56e5',
    950: '#000000',
  },
}
SCSS
$custom: #dc56e5;
$custom-light: #ea8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#dc56e5",
  "rgb": {
    "r": 220,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 296.224,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6805,
    "c": 0.23322,
    "h": 325.2
  },
  "luminance": 0.27528
}

Semantic roles & 50–950 ramp

primary
#DC56E5
secondary
#B4E6B1
accent
#D5101C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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