#DC79E9#DC79E9

#DC79E9 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.185 H 322.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DC79E9
RGBrgb(220, 121, 233)
HSLhsl(293, 72%, 69%)
HSVhsv(293, 48%, 91%)
CMYKcmyk(5.6%, 48.1%, 0%, 8.6%)
CIE-LABlab(65.57, 54.85, -40.65)
CIE-LCHlch(65.57, 68.27, 323.46°)
OKLaboklab(72.59% 0.1478 -0.1121)
OKLCHoklch(72.59% 0.185 322.8)
XYZxyz(51.0590, 34.7758, 81.0979)
Luminance0.3477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79E9 #86E979
analogous
#A479E9 #DC79E9 #E979BE
triadic
#DC79E9 #E9DC79 #79E9DC
tetradic
#DC79E9 #E9A479 #86E979 #79BEE9
square
#DC79E9 #E9A479 #86E979 #79BEE9
split-complementary
#DC79E9 #BEE979 #79E9A4
monochromatic
#B421C7 #CE44E0 #DC79E9 #EAAEF2 #F7E2FA

Accessibility & contrast

On white

2.64
#DC79E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#DC79E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79E9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79E9#FFFFFF#000000##000000
##DC79E91.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98ED
Deuteranopia (green-blind)
#87A3E6
Tritanopia (blue-blind)
#DF87A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc79e9;
/* rgb */ color: rgb(220, 121, 233);
/* oklch */ color: oklch(72.6% 0.185 322.8);
Tailwind
colors: {
  custom: {
    50: '#e9a3f0',
    500: '#dc79e9',
    950: '#000000',
  },
}
SCSS
$custom: #dc79e9;
$custom-light: #e9a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79e9",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 233
  },
  "hsl": {
    "h": 293.036,
    "s": 71.795,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72591,
    "c": 0.18549,
    "h": 322.8
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#DC79E9
secondary
#D3EFCF
accent
#D41228
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79E9

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

Preview Lab → · Contrast checker → · Palette generator →

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