#DC56E3#DC56E3

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

Color values

HEX#DC56E3
RGBrgb(220, 86, 227)
HSLhsl(297, 72%, 61%)
HSVhsv(297, 62%, 89%)
CMYKcmyk(3.1%, 62.1%, 0%, 11%)
CIE-LABlab(59.36, 69.73, -47.08)
CIE-LCHlch(59.36, 84.14, 325.97°)
OKLaboklab(67.94% 0.1914 -0.1304)
OKLCHoklch(67.94% 0.232 325.7)
XYZxyz(46.7071, 27.4201, 75.4906)
Luminance0.2742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC56E3 #5DE356
analogous
#9656E3 #DC56E3 #E356A4
triadic
#DC56E3 #E3DC56 #56E3DC
tetradic
#DC56E3 #E39656 #5DE356 #56A4E3
square
#DC56E3 #E39656 #5DE356 #56A4E3
split-complementary
#DC56E3 #A4E356 #56E396
monochromatic
#9D1BA4 #CF24D8 #DC56E3 #E78BEC #F2BFF4

Accessibility & contrast

On white

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

On black

6.48
#DC56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC56E3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC56E3#FFFFFF#000000##000000
##DC56E31.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F84E7
Deuteranopia (green-blind)
#7295DF
Tritanopia (blue-blind)
#E16A95
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #dc56e3;
/* rgb */ color: rgb(220, 86, 227);
/* oklch */ color: oklch(67.9% 0.232 325.7);
Tailwind
colors: {
  custom: {
    50: '#ea8eec',
    500: '#dc56e3',
    950: '#000000',
  },
}
SCSS
$custom: #dc56e3;
$custom-light: #ea8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#dc56e3",
  "rgb": {
    "r": 220,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 297.021,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67944,
    "c": 0.23157,
    "h": 325.7
  },
  "luminance": 0.27417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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