#DC7CDC#DC7CDC

#DC7CDC is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.4% C 0.168 H 327.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#DC7CDC
RGBrgb(220, 124, 220)
HSLhsl(300, 58%, 67%)
HSVhsv(300, 44%, 86%)
CMYKcmyk(0%, 43.6%, 0%, 13.7%)
CIE-LABlab(65.59, 50.96, -33.40)
CIE-LCHlch(65.59, 60.93, 326.76°)
OKLaboklab(72.42% 0.1414 -0.0913)
OKLCHoklch(72.42% 0.168 327.1)
XYZxyz(49.6402, 34.8007, 71.7988)
Luminance0.3480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CDC #7CDC7C
analogous
#AC7CDC #DC7CDC #DC7CAC
triadic
#DC7CDC #DCDC7C #7CDCDC
tetradic
#DC7CDC #DCAC7C #7CDC7C #7CACDC
square
#DC7CDC #DCAC7C #7CDC7C #7CACDC
split-complementary
#DC7CDC #ACDC7C #7CDCAC
monochromatic
#AF2FAF #CF4CCF #DC7CDC #E9ACE9 #F6DDF6

Accessibility & contrast

On white

2.64
#DC7CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#DC7CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CDC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CDC#FFFFFF#000000##000000
##DC7CDC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DF
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#E186A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7cdc;
/* rgb */ color: rgb(220, 124, 220);
/* oklch */ color: oklch(72.4% 0.168 327.1);
Tailwind
colors: {
  custom: {
    50: '#e9a4e7',
    500: '#dc7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cdc;
$custom-light: #e9a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cdc",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.16836,
    "h": 327.1
  },
  "luminance": 0.34798
}

Semantic roles & 50–950 ramp

primary
#DC7CDC
secondary
#CBE9CB
accent
#C52020
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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