#DC7FE0#DC7FE0

#DC7FE0 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.167 H 325.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DC7FE0
RGBrgb(220, 127, 224)
HSLhsl(298, 61%, 69%)
HSVhsv(298, 43%, 88%)
CMYKcmyk(1.8%, 43.3%, 0%, 12.2%)
CIE-LABlab(66.35, 50.16, -34.45)
CIE-LCHlch(66.35, 60.85, 325.52°)
OKLaboklab(73.04% 0.1379 -0.0944)
OKLCHoklch(73.04% 0.167 325.6)
XYZxyz(50.5580, 35.7785, 74.7494)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FE0 #83E07F
analogous
#AC7FE0 #DC7FE0 #E07FB4
triadic
#DC7FE0 #E0DC7F #7FE0DC
tetradic
#DC7FE0 #E0AC7F #83E07F #7FB4E0
square
#DC7FE0 #E0AC7F #83E07F #7FB4E0
split-complementary
#DC7FE0 #B4E07F #7FE0AC
monochromatic
#B22DB8 #CF4ED4 #DC7FE0 #E9B0EC #F7E2F8

Accessibility & contrast

On white

2.58
#DC7FE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#DC7FE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FE0
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FE0#FFFFFF#000000##000000
##DC7FE01.002.588.168.16
#FFFFFF2.581.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE3
Deuteranopia (green-blind)
#8FA5DD
Tritanopia (blue-blind)
#E089A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7fe0;
/* rgb */ color: rgb(220, 127, 224);
/* oklch */ color: oklch(73.0% 0.167 325.6);
Tailwind
colors: {
  custom: {
    50: '#e9a6ea',
    500: '#dc7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fe0;
$custom-light: #e9a6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fe0",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 297.526,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.16712,
    "h": 325.6
  },
  "luminance": 0.35776
}

Semantic roles & 50–950 ramp

primary
#DC7FE0
secondary
#D0ECCF
accent
#C91D24
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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