#DC7EE6#DC7EE6

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

Color values

HEX#DC7EE6
RGBrgb(220, 126, 230)
HSLhsl(294, 68%, 70%)
HSVhsv(294, 45%, 90%)
CMYKcmyk(4.3%, 45.2%, 0%, 9.8%)
CIE-LABlab(66.41, 51.78, -37.69)
CIE-LCHlch(66.41, 64.04, 323.95°)
OKLaboklab(73.17% 0.1404 -0.1036)
OKLCHoklch(73.17% 0.175 323.6)
XYZxyz(51.2576, 35.8528, 79.0679)
Luminance0.3585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EE6 #88E67E
analogous
#A87EE6 #DC7EE6 #E67EBC
triadic
#DC7EE6 #E6DC7E #7EE6DC
tetradic
#DC7EE6 #E6A87E #88E67E #7EBCE6
square
#DC7EE6 #E6A87E #88E67E #7EBCE6
split-complementary
#DC7EE6 #BCE67E #7EE6A8
monochromatic
#B526C4 #CE4BDC #DC7EE6 #EAB1F0 #F8E5FA

Accessibility & contrast

On white

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

On black

8.17
#DC7EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EE6
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EE6#FFFFFF#000000##000000
##DC7EE61.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719AEA
Deuteranopia (green-blind)
#8CA5E3
Tritanopia (blue-blind)
#DF8AA7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7ee6;
/* rgb */ color: rgb(220, 126, 230);
/* oklch */ color: oklch(73.2% 0.175 323.6);
Tailwind
colors: {
  custom: {
    50: '#e9a6ee',
    500: '#dc7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ee6;
$custom-light: #e9a6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ee6",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 294.231,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73167,
    "c": 0.17451,
    "h": 323.6
  },
  "luminance": 0.35851
}

Semantic roles & 50–950 ramp

primary
#DC7EE6
secondary
#D4EFD1
accent
#CF1628
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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