#DC7DE7#DC7DE7

#DC7DE7 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.1% C 0.177 H 323.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DC7DE7
RGBrgb(220, 125, 231)
HSLhsl(294, 69%, 70%)
HSVhsv(294, 46%, 91%)
CMYKcmyk(4.8%, 45.9%, 0%, 9.4%)
CIE-LABlab(66.26, 52.47, -38.48)
CIE-LCHlch(66.26, 65.07, 323.75°)
OKLaboklab(73.07% 0.142 -0.1059)
OKLCHoklch(73.07% 0.177 323.3)
XYZxyz(51.2712, 35.6546, 79.7671)
Luminance0.3565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DE7 #88E77D
analogous
#A77DE7 #DC7DE7 #E77DBD
triadic
#DC7DE7 #E7DC7D #7DE7DC
tetradic
#DC7DE7 #E7A77D #88E77D #7DBDE7
square
#DC7DE7 #E7A77D #88E77D #7DBDE7
split-complementary
#DC7DE7 #BDE77D #7DE7A7
monochromatic
#B524C5 #CE49DD #DC7DE7 #EAB1F1 #F8E4FA

Accessibility & contrast

On white

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

On black

8.13
#DC7DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DE7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DE7#FFFFFF#000000##000000
##DC7DE71.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#8BA5E4
Tritanopia (blue-blind)
#DF8AA7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7de7;
/* rgb */ color: rgb(220, 125, 231);
/* oklch */ color: oklch(73.1% 0.177 323.3);
Tailwind
colors: {
  custom: {
    50: '#e9a5ef',
    500: '#dc7de7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7de7;
$custom-light: #e9a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7de7",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 293.774,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73068,
    "c": 0.17711,
    "h": 323.3
  },
  "luminance": 0.35652
}

Semantic roles & 50–950 ramp

primary
#DC7DE7
secondary
#D4EFD1
accent
#D11528
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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