#DC79E2#DC79E2

#DC79E2 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.179 H 325.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#DC79E2
RGBrgb(220, 121, 226)
HSLhsl(297, 64%, 68%)
HSVhsv(297, 46%, 89%)
CMYKcmyk(2.7%, 46.5%, 0%, 11.4%)
CIE-LABlab(65.27, 53.55, -37.25)
CIE-LCHlch(65.27, 65.23, 325.18°)
OKLaboklab(72.26% 0.1467 -0.1023)
OKLCHoklch(72.26% 0.179 325.1)
XYZxyz(50.0789, 34.3838, 75.9356)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79E2 #7FE279
analogous
#A779E2 #DC79E2 #E279B4
triadic
#DC79E2 #E2DC79 #79E2DC
tetradic
#DC79E2 #E2A779 #7FE279 #79B4E2
square
#DC79E2 #E2A779 #7FE279 #79B4E2
split-complementary
#DC79E2 #B4E279 #79E2A7
monochromatic
#B028B9 #CF47D7 #DC79E2 #E9ABED #F6DEF8

Accessibility & contrast

On white

2.67
#DC79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#DC79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79E2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79E2#FFFFFF#000000##000000
##DC79E21.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#8AA3DF
Tritanopia (blue-blind)
#E085A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc79e2;
/* rgb */ color: rgb(220, 121, 226);
/* oklch */ color: oklch(72.3% 0.179 325.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3eb',
    500: '#dc79e2',
    950: '#000000',
  },
}
SCSS
$custom: #dc79e2;
$custom-light: #e9a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79e2",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 296.571,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72262,
    "c": 0.17886,
    "h": 325.1
  },
  "luminance": 0.34381
}

Semantic roles & 50–950 ramp

primary
#DC79E2
secondary
#CDEBCB
accent
#CC1924
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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