#DC7CD1#DC7CD1

#DC7CD1 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.158 H 331.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#DC7CD1
RGBrgb(220, 124, 209)
HSLhsl(307, 58%, 67%)
HSVhsv(307, 44%, 86%)
CMYKcmyk(0%, 43.6%, 5%, 13.7%)
CIE-LABlab(65.15, 49.02, -27.95)
CIE-LCHlch(65.15, 56.43, 330.31°)
OKLaboklab(71.95% 0.1391 -0.0759)
OKLCHoklch(71.95% 0.158 331.4)
XYZxyz(48.2310, 34.2371, 64.3772)
Luminance0.3423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CD1 #7CDC87
analogous
#B77CDC #DC7CD1 #DC7CA1
triadic
#DC7CD1 #D1DC7C #7CD1DC
tetradic
#DC7CD1 #DCB77C #7CDC87 #7CA1DC
square
#DC7CD1 #DCB77C #7CDC87 #7CA1DC
split-complementary
#DC7CD1 #A1DC7C #7CDCB7
monochromatic
#AF2FA0 #CF4CC0 #DC7CD1 #E9ACE2 #F6DDF3

Accessibility & contrast

On white

2.68
#DC7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#DC7CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CD1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CD1#FFFFFF#000000##000000
##DC7CD11.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D4
Deuteranopia (green-blind)
#93A3CE
Tritanopia (blue-blind)
#E3839D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7cd1;
/* rgb */ color: rgb(220, 124, 209);
/* oklch */ color: oklch(71.9% 0.158 331.4);
Tailwind
colors: {
  custom: {
    50: '#e9a4df',
    500: '#dc7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cd1;
$custom-light: #e9a4df;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cd1",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 306.875,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71946,
    "c": 0.15848,
    "h": 331.4
  },
  "luminance": 0.34234
}

Semantic roles & 50–950 ramp

primary
#DC7CD1
secondary
#CBE9CE
accent
#C53320
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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