#DF79E2#DF79E2

#DF79E2 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.6% C 0.181 H 326.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#DF79E2
RGBrgb(223, 121, 226)
HSLhsl(298, 64%, 68%)
HSVhsv(298, 46%, 89%)
CMYKcmyk(1.3%, 46.5%, 0%, 11.4%)
CIE-LABlab(65.64, 54.41, -36.64)
CIE-LCHlch(65.64, 65.59, 326.04°)
OKLaboklab(72.62% 0.1501 -0.1005)
OKLCHoklch(72.62% 0.181 326.2)
XYZxyz(50.9952, 34.8563, 75.9786)
Luminance0.3485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF79E2 #7CE279
analogous
#AA79E2 #DF79E2 #E279B0
triadic
#DF79E2 #E2DF79 #79E2DF
tetradic
#DF79E2 #E2AA79 #7CE279 #79B0E2
square
#DF79E2 #E2AA79 #7CE279 #79B0E2
split-complementary
#DF79E2 #B0E279 #79E2AA
monochromatic
#B528B9 #D347D7 #DF79E2 #EBABED #F7DEF8

Accessibility & contrast

On white

2.63
#DF79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#DF79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF79E2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF79E2#FFFFFF#000000##000000
##DF79E21.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#8CA4DF
Tritanopia (blue-blind)
#E484A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df79e2;
/* rgb */ color: rgb(223, 121, 226);
/* oklch */ color: oklch(72.6% 0.181 326.2);
Tailwind
colors: {
  custom: {
    50: '#eba3eb',
    500: '#df79e2',
    950: '#000000',
  },
}
SCSS
$custom: #df79e2;
$custom-light: #eba3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df79e2",
  "rgb": {
    "r": 223,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 298.286,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.18064,
    "h": 326.2
  },
  "luminance": 0.34854
}

Semantic roles & 50–950 ramp

primary
#DF79E2
secondary
#CCEBCB
accent
#CC191E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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