#DF79F2#DF79F2

#DF79F2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.4% C 0.196 H 321.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#DF79F2
RGBrgb(223, 121, 242)
HSLhsl(291, 82%, 71%)
HSVhsv(291, 50%, 95%)
CMYKcmyk(7.9%, 50%, 0%, 5.1%)
CIE-LABlab(66.35, 57.35, -44.38)
CIE-LCHlch(66.35, 72.52, 322.27°)
OKLaboklab(73.38% 0.1524 -0.1228)
OKLCHoklch(73.38% 0.196 321.2)
XYZxyz(53.2940, 35.7758, 88.0853)
Luminance0.3577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF79F2 #8CF279
analogous
#A279F2 #DF79F2 #F279C8
triadic
#DF79F2 #F2DF79 #79F2DF
tetradic
#DF79F2 #F2A279 #8CF279 #79C8F2
square
#DF79F2 #F2A279 #8CF279 #79C8F2
split-complementary
#DF79F2 #C8F279 #79F2A2
monochromatic
#BC15DB #D241ED #DF79F2 #ECB1F7 #F8E3FC

Accessibility & contrast

On white

2.58
#DF79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#DF79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF79F2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF79F2#FFFFFF#000000##000000
##DF79F21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#85A5EF
Tritanopia (blue-blind)
#E189AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df79f2;
/* rgb */ color: rgb(223, 121, 242);
/* oklch */ color: oklch(73.4% 0.196 321.2);
Tailwind
colors: {
  custom: {
    50: '#eba3f7',
    500: '#df79f2',
    950: '#000000',
  },
}
SCSS
$custom: #df79f2;
$custom-light: #eba3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df79f2",
  "rgb": {
    "r": 223,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 290.579,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73376,
    "c": 0.19572,
    "h": 321.2
  },
  "luminance": 0.35774
}

Semantic roles & 50–950 ramp

primary
#DF79F2
secondary
#D8F3D3
accent
#DF0729
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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