#DC56E7#DC56E7

#DC56E7 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.2% C 0.235 H 324.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#DC56E7
RGBrgb(220, 86, 231)
HSLhsl(295, 75%, 62%)
HSVhsv(295, 63%, 91%)
CMYKcmyk(4.8%, 62.8%, 0%, 9.4%)
CIE-LABlab(59.57, 70.42, -49.00)
CIE-LCHlch(59.57, 85.79, 325.17°)
OKLaboklab(68.16% 0.1915 -0.136)
OKLCHoklch(68.16% 0.235 324.6)
XYZxyz(47.2656, 27.6435, 78.4320)
Luminance0.2764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC56E7 #61E756
analogous
#9356E7 #DC56E7 #E756AA
triadic
#DC56E7 #E7DC56 #56E7DC
tetradic
#DC56E7 #E79356 #61E756 #56AAE7
square
#DC56E7 #E79356 #61E756 #56AAE7
split-complementary
#DC56E7 #AAE756 #56E793
monochromatic
#9F18AA #D120DF #DC56E7 #E78CEF #F2C1F6

Accessibility & contrast

On white

3.22
#DC56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#DC56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC56E7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC56E7#FFFFFF#000000##000000
##DC56E71.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#7095E3
Tritanopia (blue-blind)
#E06B97
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc56e7;
/* rgb */ color: rgb(220, 86, 231);
/* oklch */ color: oklch(68.2% 0.235 324.6);
Tailwind
colors: {
  custom: {
    50: '#ea8eef',
    500: '#dc56e7',
    950: '#000000',
  },
}
SCSS
$custom: #dc56e7;
$custom-light: #ea8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc56e7",
  "rgb": {
    "r": 220,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 295.448,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68158,
    "c": 0.23488,
    "h": 324.6
  },
  "luminance": 0.27641
}

Semantic roles & 50–950 ramp

primary
#DC56E7
secondary
#B6E7B2
accent
#D70E1D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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