#DC7CD7#DC7CD7

#DC7CD7 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.164 H 329.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#DC7CD7
RGBrgb(220, 124, 215)
HSLhsl(303, 58%, 67%)
HSVhsv(303, 44%, 86%)
CMYKcmyk(0%, 43.6%, 2.3%, 13.7%)
CIE-LABlab(65.39, 50.07, -30.93)
CIE-LCHlch(65.39, 58.86, 328.29°)
OKLaboklab(72.2% 0.1404 -0.0843)
OKLCHoklch(72.2% 0.164 329)
XYZxyz(48.9879, 34.5398, 68.3633)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CD7 #7CDC81
analogous
#B17CDC #DC7CD7 #DC7CA7
triadic
#DC7CD7 #D7DC7C #7CD7DC
tetradic
#DC7CD7 #DCB17C #7CDC81 #7CA7DC
square
#DC7CD7 #DCB17C #7CDC81 #7CA7DC
split-complementary
#DC7CD7 #A7DC7C #7CDCB1
monochromatic
#AF2FA8 #CF4CC8 #DC7CD7 #E9ACE6 #F6DDF4

Accessibility & contrast

On white

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

On black

7.91
#DC7CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CD7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CD7#FFFFFF#000000##000000
##DC7CD71.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DA
Deuteranopia (green-blind)
#91A3D4
Tritanopia (blue-blind)
#E284A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7cd7;
/* rgb */ color: rgb(220, 124, 215);
/* oklch */ color: oklch(72.2% 0.164 329.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4e3',
    500: '#dc7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cd7;
$custom-light: #e9a4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cd7",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 303.125,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72203,
    "c": 0.16381,
    "h": 329
  },
  "luminance": 0.34537
}

Semantic roles & 50–950 ramp

primary
#DC7CD7
secondary
#CBE9CC
accent
#C52920
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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