#DC7CD5#DC7CD5

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

Color values

HEX#DC7CD5
RGBrgb(220, 124, 213)
HSLhsl(304, 58%, 67%)
HSVhsv(304, 44%, 86%)
CMYKcmyk(0%, 43.6%, 3.2%, 13.7%)
CIE-LABlab(65.31, 49.72, -29.94)
CIE-LCHlch(65.31, 58.04, 328.94°)
OKLaboklab(72.12% 0.14 -0.0815)
OKLCHoklch(72.12% 0.162 329.8)
XYZxyz(48.7325, 34.4376, 67.0181)
Luminance0.3443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CD5 #7CDC83
analogous
#B37CDC #DC7CD5 #DC7CA5
triadic
#DC7CD5 #D5DC7C #7CD5DC
tetradic
#DC7CD5 #DCB37C #7CDC83 #7CA5DC
square
#DC7CD5 #DCB37C #7CDC83 #7CA5DC
split-complementary
#DC7CD5 #A5DC7C #7CDCB3
monochromatic
#AF2FA6 #CF4CC6 #DC7CD5 #E9ACE4 #F6DDF4

Accessibility & contrast

On white

2.66
#DC7CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#DC7CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CD5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CD5#FFFFFF#000000##000000
##DC7CD51.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D8
Deuteranopia (green-blind)
#91A3D2
Tritanopia (blue-blind)
#E2849F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7cd5;
/* rgb */ color: rgb(220, 124, 213);
/* oklch */ color: oklch(72.1% 0.162 329.8);
Tailwind
colors: {
  custom: {
    50: '#e9a4e2',
    500: '#dc7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cd5;
$custom-light: #e9a4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cd5",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 304.375,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.16201,
    "h": 329.8
  },
  "luminance": 0.34435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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