#DC7CD8#DC7CD8

#DC7CD8 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.2% C 0.165 H 328.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#DC7CD8
RGBrgb(220, 124, 216)
HSLhsl(303, 58%, 67%)
HSVhsv(303, 44%, 86%)
CMYKcmyk(0%, 43.6%, 1.8%, 13.7%)
CIE-LABlab(65.43, 50.25, -31.43)
CIE-LCHlch(65.43, 59.27, 327.98°)
OKLaboklab(72.25% 0.1406 -0.0857)
OKLCHoklch(72.25% 0.165 328.6)
XYZxyz(49.1168, 34.5914, 69.0421)
Luminance0.3459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CD8 #7CDC80
analogous
#B07CDC #DC7CD8 #DC7CA8
triadic
#DC7CD8 #D8DC7C #7CD8DC
tetradic
#DC7CD8 #DCB07C #7CDC80 #7CA8DC
square
#DC7CD8 #DCB07C #7CDC80 #7CA8DC
split-complementary
#DC7CD8 #A8DC7C #7CDCB0
monochromatic
#AF2FAA #CF4CCA #DC7CD8 #E9ACE6 #F6DDF5

Accessibility & contrast

On white

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

On black

7.92
#DC7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CD8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CD8#FFFFFF#000000##000000
##DC7CD81.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DB
Deuteranopia (green-blind)
#90A3D5
Tritanopia (blue-blind)
#E285A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7cd8;
/* rgb */ color: rgb(220, 124, 216);
/* oklch */ color: oklch(72.2% 0.165 328.6);
Tailwind
colors: {
  custom: {
    50: '#e9a4e4',
    500: '#dc7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cd8;
$custom-light: #e9a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cd8",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 302.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72246,
    "c": 0.1647,
    "h": 328.6
  },
  "luminance": 0.34589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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