#DC79FE#DC79FE

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

Color values

HEX#DC79FE
RGBrgb(220, 121, 254)
HSLhsl(285, 99%, 74%)
HSVhsv(285, 52%, 100%)
CMYKcmyk(13.4%, 52.4%, 0%, 0.4%)
CIE-LABlab(66.56, 58.88, -50.66)
CIE-LCHlch(66.56, 77.68, 319.29°)
OKLaboklab(73.64% 0.1503 -0.141)
OKLCHoklch(73.64% 0.206 316.8)
XYZxyz(54.2394, 36.0480, 97.8475)
Luminance0.3605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79FE #9BFE79
analogous
#9979FE #DC79FE #FE79DD
triadic
#DC79FE #FEDC79 #79FEDC
tetradic
#DC79FE #FE9979 #9BFE79 #79DDFE
square
#DC79FE #FE9979 #9BFE79 #79DDFE
split-complementary
#DC79FE #DDFE79 #79FE99
monochromatic
#BB02FB #CC3CFE #DC79FE #ECB6FE #F7E1FF

Accessibility & contrast

On white

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

On black

8.21
#DC79FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79FE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79FE#FFFFFF#000000##000000
##DC79FE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc79fe;
/* rgb */ color: rgb(220, 121, 254);
/* oklch */ color: oklch(73.6% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#e9a3ff',
    500: '#dc79fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc79fe;
$custom-light: #e9a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79fe",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 284.662,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73638,
    "c": 0.20609,
    "h": 316.8
  },
  "luminance": 0.36046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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