#DC79FD#DC79FD

#DC79FD is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.6% C 0.205 H 317.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DC79FD
RGBrgb(220, 121, 253)
HSLhsl(285, 97%, 73%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(13%, 52.2%, 0%, 0.8%)
CIE-LABlab(66.51, 58.68, -50.19)
CIE-LCHlch(66.51, 77.22, 319.46°)
OKLaboklab(73.59% 0.1502 -0.1397)
OKLCHoklch(73.59% 0.205 317.1)
XYZxyz(54.0796, 35.9841, 97.0064)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79FD #9AFD79
analogous
#9A79FD #DC79FD #FD79DC
triadic
#DC79FD #FDDC79 #79FDDC
tetradic
#DC79FD #FD9A79 #9AFD79 #79DCFD
square
#DC79FD #FD9A79 #9AFD79 #79DCFD
split-complementary
#DC79FD #DCFD79 #79FD9A
monochromatic
#BB04F8 #CC3DFC #DC79FD #ECB5FE #F7E1FF

Accessibility & contrast

On white

2.56
#DC79FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DC79FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79FD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79FD#FFFFFF#000000##000000
##DC79FD1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#DB8DB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc79fd;
/* rgb */ color: rgb(220, 121, 253);
/* oklch */ color: oklch(73.6% 0.205 317.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3fe',
    500: '#dc79fd',
    950: '#000000',
  },
}
SCSS
$custom: #dc79fd;
$custom-light: #e9a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79fd",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 285,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73586,
    "c": 0.20509,
    "h": 317.1
  },
  "luminance": 0.35982
}

Semantic roles & 50–950 ramp

primary
#DC79FD
secondary
#DDF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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