#DC79E6#DC79E6

#DC79E6 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.4% C 0.183 H 323.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#DC79E6
RGBrgb(220, 121, 230)
HSLhsl(294, 69%, 69%)
HSVhsv(294, 47%, 90%)
CMYKcmyk(4.3%, 47.4%, 0%, 9.8%)
CIE-LABlab(65.44, 54.29, -39.19)
CIE-LCHlch(65.44, 66.96, 324.17°)
OKLaboklab(72.45% 0.1473 -0.1079)
OKLCHoklch(72.45% 0.183 323.8)
XYZxyz(50.6341, 34.6059, 78.8601)
Luminance0.3460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79E6 #83E679
analogous
#A679E6 #DC79E6 #E679BA
triadic
#DC79E6 #E6DC79 #79E6DC
tetradic
#DC79E6 #E6A679 #83E679 #79BAE6
square
#DC79E6 #E6A679 #83E679 #79BAE6
split-complementary
#DC79E6 #BAE679 #79E6A6
monochromatic
#B224C1 #CF45DC #DC79E6 #E9ADF0 #F7E0F9

Accessibility & contrast

On white

2.65
#DC79E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#DC79E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79E6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79E6#FFFFFF#000000##000000
##DC79E61.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EA
Deuteranopia (green-blind)
#88A3E3
Tritanopia (blue-blind)
#E086A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc79e6;
/* rgb */ color: rgb(220, 121, 230);
/* oklch */ color: oklch(72.4% 0.183 323.8);
Tailwind
colors: {
  custom: {
    50: '#e9a3ee',
    500: '#dc79e6',
    950: '#000000',
  },
}
SCSS
$custom: #dc79e6;
$custom-light: #e9a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79e6",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 294.495,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72449,
    "c": 0.18263,
    "h": 323.8
  },
  "luminance": 0.34604
}

Semantic roles & 50–950 ramp

primary
#DC79E6
secondary
#D0EECD
accent
#D01526
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79E6

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

Preview Lab → · Contrast checker → · Palette generator →

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