#DC79F4#DC79F4

#DC79F4 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.196 H 319.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DC79F4
RGBrgb(220, 121, 244)
HSLhsl(288, 85%, 72%)
HSVhsv(288, 50%, 96%)
CMYKcmyk(9.8%, 50.4%, 0%, 4.3%)
CIE-LABlab(66.08, 56.93, -45.93)
CIE-LCHlch(66.08, 73.15, 321.11°)
OKLaboklab(73.13% 0.1492 -0.1273)
OKLCHoklch(73.13% 0.196 319.5)
XYZxyz(52.6796, 35.4241, 89.6330)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79F4 #91F479
analogous
#9F79F4 #DC79F4 #F479CF
triadic
#DC79F4 #F4DC79 #79F4DC
tetradic
#DC79F4 #F49F79 #91F479 #79CFF4
square
#DC79F4 #F49F79 #91F479 #79CFF4
split-complementary
#DC79F4 #CFF479 #79F49F
monochromatic
#B812E0 #CD40EF #DC79F4 #EBB2F9 #F8E3FD

Accessibility & contrast

On white

2.60
#DC79F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#DC79F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79F4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79F4#FFFFFF#000000##000000
##DC79F41.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#81A4F1
Tritanopia (blue-blind)
#DD8AAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc79f4;
/* rgb */ color: rgb(220, 121, 244);
/* oklch */ color: oklch(73.1% 0.196 319.5);
Tailwind
colors: {
  custom: {
    50: '#e9a3f8',
    500: '#dc79f4',
    950: '#000000',
  },
}
SCSS
$custom: #dc79f4;
$custom-light: #e9a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79f4",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 288.293,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73128,
    "c": 0.19617,
    "h": 319.5
  },
  "luminance": 0.35422
}

Semantic roles & 50–950 ramp

primary
#DC79F4
secondary
#DBF4D5
accent
#E1042F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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