#DC79EC#DC79EC

#DC79EC is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.188 H 321.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#DC79EC
RGBrgb(220, 121, 236)
HSLhsl(292, 75%, 70%)
HSVhsv(292, 49%, 93%)
CMYKcmyk(6.8%, 48.7%, 0%, 7.5%)
CIE-LABlab(65.71, 55.41, -42.10)
CIE-LCHlch(65.71, 69.59, 322.77°)
OKLaboklab(72.74% 0.1482 -0.1163)
OKLCHoklch(72.74% 0.188 321.9)
XYZxyz(51.4912, 34.9487, 83.3741)
Luminance0.3495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79EC #89EC79
analogous
#A279EC #DC79EC #EC79C3
triadic
#DC79EC #ECDC79 #79ECDC
tetradic
#DC79EC #ECA279 #89EC79 #79C3EC
square
#DC79EC #ECA279 #89EC79 #79C3EC
split-complementary
#DC79EC #C3EC79 #79ECA2
monochromatic
#B51DCD #CE43E4 #DC79EC #EAAFF4 #F8E4FB

Accessibility & contrast

On white

2.63
#DC79EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#DC79EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79EC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79EC#FFFFFF#000000##000000
##DC79EC1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#85A4E9
Tritanopia (blue-blind)
#DE88A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc79ec;
/* rgb */ color: rgb(220, 121, 236);
/* oklch */ color: oklch(72.7% 0.188 321.9);
Tailwind
colors: {
  custom: {
    50: '#e9a3f2',
    500: '#dc79ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc79ec;
$custom-light: #e9a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79ec",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 291.652,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.72735,
    "c": 0.18838,
    "h": 321.9
  },
  "luminance": 0.34947
}

Semantic roles & 50–950 ramp

primary
#DC79EC
secondary
#D5F0D0
accent
#D70E2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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