#DC7DE1#DC7DE1

#DC7DE1 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.171 H 325.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#DC7DE1
RGBrgb(220, 125, 225)
HSLhsl(297, 63%, 69%)
HSVhsv(297, 44%, 88%)
CMYKcmyk(2.2%, 44.4%, 0%, 11.8%)
CIE-LABlab(66.00, 51.36, -35.55)
CIE-LCHlch(66.00, 62.47, 325.31°)
OKLaboklab(72.79% 0.1409 -0.0975)
OKLCHoklch(72.79% 0.171 325.3)
XYZxyz(50.4383, 35.3215, 75.3805)
Luminance0.3532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DE1 #82E17D
analogous
#AA7DE1 #DC7DE1 #E17DB4
triadic
#DC7DE1 #E1DC7D #7DE1DC
tetradic
#DC7DE1 #E1AA7D #82E17D #7DB4E1
square
#DC7DE1 #E1AA7D #82E17D #7DB4E1
split-complementary
#DC7DE1 #B4E17D #7DE1AA
monochromatic
#B22BB9 #CF4BD6 #DC7DE1 #E9AFEC #F7E0F8

Accessibility & contrast

On white

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

On black

8.06
#DC7DE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DE1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DE1#FFFFFF#000000##000000
##DC7DE11.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7399E4
Deuteranopia (green-blind)
#8DA5DE
Tritanopia (blue-blind)
#E088A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7de1;
/* rgb */ color: rgb(220, 125, 225);
/* oklch */ color: oklch(72.8% 0.171 325.3);
Tailwind
colors: {
  custom: {
    50: '#e9a5ea',
    500: '#dc7de1',
    950: '#000000',
  },
}
SCSS
$custom: #dc7de1;
$custom-light: #e9a5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7de1",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 225
  },
  "hsl": {
    "h": 297,
    "s": 62.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72793,
    "c": 0.17138,
    "h": 325.3
  },
  "luminance": 0.35319
}

Semantic roles & 50–950 ramp

primary
#DC7DE1
secondary
#CFECCE
accent
#CA1B24
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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