#DC79E8#DC79E8

#DC79E8 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.185 H 323.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DC79E8
RGBrgb(220, 121, 232)
HSLhsl(294, 71%, 69%)
HSVhsv(294, 48%, 91%)
CMYKcmyk(5.2%, 47.8%, 0%, 9%)
CIE-LABlab(65.53, 54.66, -40.16)
CIE-LCHlch(65.53, 67.83, 323.69°)
OKLaboklab(72.54% 0.1477 -0.1107)
OKLCHoklch(72.54% 0.185 323.1)
XYZxyz(50.9166, 34.7189, 80.3477)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79E8 #85E879
analogous
#A579E8 #DC79E8 #E879BC
triadic
#DC79E8 #E8DC79 #79E8DC
tetradic
#DC79E8 #E8A579 #85E879 #79BCE8
square
#DC79E8 #E8A579 #85E879 #79BCE8
split-complementary
#DC79E8 #BCE879 #79E8A5
monochromatic
#B322C5 #CE45DF #DC79E8 #EAADF1 #F7E1FA

Accessibility & contrast

On white

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

On black

7.94
#DC79E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79E8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79E8#FFFFFF#000000##000000
##DC79E81.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc79e8;
/* rgb */ color: rgb(220, 121, 232);
/* oklch */ color: oklch(72.5% 0.185 323.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3ef',
    500: '#dc79e8',
    950: '#000000',
  },
}
SCSS
$custom: #dc79e8;
$custom-light: #e9a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79e8",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 293.514,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72543,
    "c": 0.18453,
    "h": 323.1
  },
  "luminance": 0.34717
}

Semantic roles & 50–950 ramp

primary
#DC79E8
secondary
#D2EFCE
accent
#D31328
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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