#DC7CD9#DC7CD9

#DC7CD9 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.3% C 0.166 H 328.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#DC7CD9
RGBrgb(220, 124, 217)
HSLhsl(302, 58%, 67%)
HSVhsv(302, 44%, 86%)
CMYKcmyk(0%, 43.6%, 1.4%, 13.7%)
CIE-LABlab(65.47, 50.43, -31.92)
CIE-LCHlch(65.47, 59.68, 327.66°)
OKLaboklab(72.29% 0.1408 -0.0871)
OKLCHoklch(72.29% 0.166 328.3)
XYZxyz(49.2465, 34.6432, 69.7250)
Luminance0.3464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CD9 #7CDC7F
analogous
#AF7CDC #DC7CD9 #DC7CA9
triadic
#DC7CD9 #D9DC7C #7CD9DC
tetradic
#DC7CD9 #DCAF7C #7CDC7F #7CA9DC
square
#DC7CD9 #DCAF7C #7CDC7F #7CA9DC
split-complementary
#DC7CD9 #A9DC7C #7CDCAF
monochromatic
#AF2FAB #CF4CCB #DC7CD9 #E9ACE7 #F6DDF5

Accessibility & contrast

On white

2.65
#DC7CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#DC7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CD9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CD9#FFFFFF#000000##000000
##DC7CD91.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7597DC
Deuteranopia (green-blind)
#90A4D6
Tritanopia (blue-blind)
#E285A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7cd9;
/* rgb */ color: rgb(220, 124, 217);
/* oklch */ color: oklch(72.3% 0.166 328.3);
Tailwind
colors: {
  custom: {
    50: '#e9a4e5',
    500: '#dc7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cd9;
$custom-light: #e9a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cd9",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 301.875,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7229,
    "c": 0.16561,
    "h": 328.3
  },
  "luminance": 0.34641
}

Semantic roles & 50–950 ramp

primary
#DC7CD9
secondary
#CBE9CC
accent
#C52520
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F15
muted
#847F84

Preview Lab

Preview with #DC7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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