#DC79DC#DC79DC

#DC79DC is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.173 H 327.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#DC79DC
RGBrgb(220, 121, 220)
HSLhsl(300, 59%, 67%)
HSVhsv(300, 45%, 86%)
CMYKcmyk(0%, 45%, 0%, 13.7%)
CIE-LABlab(65.01, 52.47, -34.31)
CIE-LCHlch(65.01, 62.69, 326.82°)
OKLaboklab(71.99% 0.1457 -0.0939)
OKLCHoklch(71.99% 0.173 327.2)
XYZxyz(49.2699, 34.0602, 71.6753)
Luminance0.3406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79DC #79DC79
analogous
#AB79DC #DC79DC #DC79AB
triadic
#DC79DC #DCDC79 #79DCDC
tetradic
#DC79DC #DCAB79 #79DC79 #79ABDC
square
#DC79DC #DCAB79 #79DC79 #79ABDC
split-complementary
#DC79DC #ABDC79 #79DCAB
monochromatic
#AD2DAD #CF48CF #DC79DC #E9AAE9 #F5DAF5

Accessibility & contrast

On white

2.69
#DC79DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#DC79DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79DC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79DC#FFFFFF#000000##000000
##DC79DC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#E183A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc79dc;
/* rgb */ color: rgb(220, 121, 220);
/* oklch */ color: oklch(72.0% 0.173 327.2);
Tailwind
colors: {
  custom: {
    50: '#e9a3e7',
    500: '#dc79dc',
    950: '#000000',
  },
}
SCSS
$custom: #dc79dc;
$custom-light: #e9a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79dc",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71988,
    "c": 0.17331,
    "h": 327.2
  },
  "luminance": 0.34058
}

Semantic roles & 50–950 ramp

primary
#DC79DC
secondary
#C9E8C9
accent
#C61F1F
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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