#DC7CD4#DC7CD4

#DC7CD4 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.161 H 330.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#DC7CD4
RGBrgb(220, 124, 212)
HSLhsl(305, 58%, 67%)
HSVhsv(305, 44%, 86%)
CMYKcmyk(0%, 43.6%, 3.6%, 13.7%)
CIE-LABlab(65.27, 49.55, -29.44)
CIE-LCHlch(65.27, 57.63, 329.28°)
OKLaboklab(72.07% 0.1398 -0.0801)
OKLCHoklch(72.07% 0.161 330.2)
XYZxyz(48.6060, 34.3870, 66.3517)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CD4 #7CDC84
analogous
#B47CDC #DC7CD4 #DC7CA4
triadic
#DC7CD4 #D4DC7C #7CD4DC
tetradic
#DC7CD4 #DCB47C #7CDC84 #7CA4DC
square
#DC7CD4 #DCB47C #7CDC84 #7CA4DC
split-complementary
#DC7CD4 #A4DC7C #7CDCB4
monochromatic
#AF2FA4 #CF4CC4 #DC7CD4 #E9ACE4 #F6DDF4

Accessibility & contrast

On white

2.67
#DC7CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#DC7CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CD4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CD4#FFFFFF#000000##000000
##DC7CD41.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D7
Deuteranopia (green-blind)
#92A3D1
Tritanopia (blue-blind)
#E3839E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7cd4;
/* rgb */ color: rgb(220, 124, 212);
/* oklch */ color: oklch(72.1% 0.161 330.2);
Tailwind
colors: {
  custom: {
    50: '#e9a4e1',
    500: '#dc7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cd4;
$custom-light: #e9a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cd4",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 305,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72073,
    "c": 0.16112,
    "h": 330.2
  },
  "luminance": 0.34384
}

Semantic roles & 50–950 ramp

primary
#DC7CD4
secondary
#CBE9CD
accent
#C52E20
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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