#DC7EE7#DC7EE7

#DC7EE7 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.2% C 0.175 H 323.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DC7EE7
RGBrgb(220, 126, 231)
HSLhsl(294, 69%, 70%)
HSVhsv(294, 45%, 91%)
CMYKcmyk(4.8%, 45.5%, 0%, 9.4%)
CIE-LABlab(66.45, 51.97, -38.17)
CIE-LCHlch(66.45, 64.48, 323.70°)
OKLaboklab(73.21% 0.1406 -0.105)
OKLCHoklch(73.21% 0.175 323.2)
XYZxyz(51.3984, 35.9091, 79.8096)
Luminance0.3591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EE7 #89E77E
analogous
#A77EE7 #DC7EE7 #E77EBE
triadic
#DC7EE7 #E7DC7E #7EE7DC
tetradic
#DC7EE7 #E7A77E #89E77E #7EBEE7
square
#DC7EE7 #E7A77E #89E77E #7EBEE7
split-complementary
#DC7EE7 #BEE77E #7EE7A7
monochromatic
#B525C6 #CE4ADD #DC7EE7 #EAB2F1 #F8E5FA

Accessibility & contrast

On white

2.57
#DC7EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#DC7EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EE7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EE7#FFFFFF#000000##000000
##DC7EE71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AEB
Deuteranopia (green-blind)
#8CA5E4
Tritanopia (blue-blind)
#DF8AA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7ee7;
/* rgb */ color: rgb(220, 126, 231);
/* oklch */ color: oklch(73.2% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#e9a6ef',
    500: '#dc7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ee7;
$custom-light: #e9a6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ee7",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 293.714,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.17548,
    "h": 323.2
  },
  "luminance": 0.35907
}

Semantic roles & 50–950 ramp

primary
#DC7EE7
secondary
#D5EFD2
accent
#D11529
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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