#DC7EDE#DC7EDE

#DC7EDE is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.8% C 0.167 H 326.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DC7EDE
RGBrgb(220, 126, 222)
HSLhsl(299, 59%, 68%)
HSVhsv(299, 43%, 87%)
CMYKcmyk(0.9%, 43.2%, 0%, 12.9%)
CIE-LABlab(66.07, 50.31, -33.78)
CIE-LCHlch(66.07, 60.59, 326.12°)
OKLaboklab(72.8% 0.139 -0.0924)
OKLCHoklch(72.8% 0.167 326.4)
XYZxyz(50.1598, 35.4137, 73.2865)
Luminance0.3541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EDE #80DE7E
analogous
#AC7EDE #DC7EDE #DE7EB0
triadic
#DC7EDE #DEDC7E #7EDEDC
tetradic
#DC7EDE #DEAC7E #80DE7E #7EB0DE
square
#DC7EDE #DEAC7E #80DE7E #7EB0DE
split-complementary
#DC7EDE #B0DE7E #7EDEAC
monochromatic
#B12EB4 #CF4DD2 #DC7EDE #E9AFEA #F6DFF7

Accessibility & contrast

On white

2.60
#DC7EDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#DC7EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EDE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EDE#FFFFFF#000000##000000
##DC7EDE1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E1
Deuteranopia (green-blind)
#8FA5DB
Tritanopia (blue-blind)
#E188A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7ede;
/* rgb */ color: rgb(220, 126, 222);
/* oklch */ color: oklch(72.8% 0.167 326.4);
Tailwind
colors: {
  custom: {
    50: '#e9a6e8',
    500: '#dc7ede',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ede;
$custom-light: #e9a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ede",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 298.75,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.1669,
    "h": 326.4
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

primary
#DC7EDE
secondary
#CEEACD
accent
#C71F22
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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