#DC7DE2#DC7DE2

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

Color values

HEX#DC7DE2
RGBrgb(220, 125, 226)
HSLhsl(296, 64%, 69%)
HSVhsv(296, 45%, 89%)
CMYKcmyk(2.7%, 44.7%, 0%, 11.4%)
CIE-LABlab(66.04, 51.55, -36.04)
CIE-LCHlch(66.04, 62.90, 325.04°)
OKLaboklab(72.84% 0.1411 -0.0989)
OKLCHoklch(72.84% 0.172 325)
XYZxyz(50.5751, 35.3762, 76.1010)
Luminance0.3537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DE2 #83E27D
analogous
#AA7DE2 #DC7DE2 #E27DB6
triadic
#DC7DE2 #E2DC7D #7DE2DC
tetradic
#DC7DE2 #E2AA7D #83E27D #7DB6E2
square
#DC7DE2 #E2AA7D #83E27D #7DB6E2
split-complementary
#DC7DE2 #B6E27D #7DE2AA
monochromatic
#B22ABB #CF4BD7 #DC7DE2 #E9AFED #F7E1F8

Accessibility & contrast

On white

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

On black

8.07
#DC7DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DE2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DE2#FFFFFF#000000##000000
##DC7DE21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E6
Deuteranopia (green-blind)
#8DA5DF
Tritanopia (blue-blind)
#E088A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7de2;
/* rgb */ color: rgb(220, 125, 226);
/* oklch */ color: oklch(72.8% 0.172 325.0);
Tailwind
colors: {
  custom: {
    50: '#e9a5eb',
    500: '#dc7de2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7de2;
$custom-light: #e9a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7de2",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 296.436,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72838,
    "c": 0.17233,
    "h": 325
  },
  "luminance": 0.35374
}

Semantic roles & 50–950 ramp

primary
#DC7DE2
secondary
#D0ECCE
accent
#CB1A25
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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