#DC79D4#DC79D4

#DC79D4 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.166 H 330.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#DC79D4
RGBrgb(220, 121, 212)
HSLhsl(305, 59%, 67%)
HSVhsv(305, 45%, 86%)
CMYKcmyk(0%, 45%, 3.6%, 13.7%)
CIE-LABlab(64.68, 51.06, -30.35)
CIE-LCHlch(64.68, 59.40, 329.27°)
OKLaboklab(71.64% 0.1441 -0.0826)
OKLCHoklch(71.64% 0.166 330.2)
XYZxyz(48.2357, 33.6465, 66.2283)
Luminance0.3364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79D4 #79DC81
analogous
#B279DC #DC79D4 #DC79A3
triadic
#DC79D4 #D4DC79 #79D4DC
tetradic
#DC79D4 #DCB279 #79DC81 #79A3DC
square
#DC79D4 #DCB279 #79DC81 #79A3DC
split-complementary
#DC79D4 #A3DC79 #79DCB2
monochromatic
#AD2DA3 #CF48C4 #DC79D4 #E9AAE4 #F5DAF3

Accessibility & contrast

On white

2.72
#DC79D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#DC79D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79D4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79D4#FFFFFF#000000##000000
##DC79D41.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#90A2D1
Tritanopia (blue-blind)
#E3819D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc79d4;
/* rgb */ color: rgb(220, 121, 212);
/* oklch */ color: oklch(71.6% 0.166 330.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2e1',
    500: '#dc79d4',
    950: '#000000',
  },
}
SCSS
$custom: #dc79d4;
$custom-light: #e9a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79d4",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 212
  },
  "hsl": {
    "h": 304.848,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.16613,
    "h": 330.2
  },
  "luminance": 0.33644
}

Semantic roles & 50–950 ramp

primary
#DC79D4
secondary
#C9E8CB
accent
#C62D1F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC79D4

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

Preview Lab → · Contrast checker → · Palette generator →

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