#DC79FC#DC79FC

#DC79FC is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.5% C 0.204 H 317.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DC79FC
RGBrgb(220, 121, 252)
HSLhsl(285, 96%, 73%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(12.7%, 52%, 0%, 1.2%)
CIE-LABlab(66.46, 58.49, -49.72)
CIE-LCHlch(66.46, 76.76, 319.63°)
OKLaboklab(73.53% 0.1501 -0.1383)
OKLCHoklch(73.53% 0.204 317.3)
XYZxyz(53.9208, 35.9205, 96.1696)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79FC #99FC79
analogous
#9B79FC #DC79FC #FC79DA
triadic
#DC79FC #FCDC79 #79FCDC
tetradic
#DC79FC #FC9B79 #99FC79 #79DAFC
square
#DC79FC #FC9B79 #99FC79 #79DAFC
split-complementary
#DC79FC #DAFC79 #79FC9B
monochromatic
#BB05F5 #CC3DFB #DC79FC #ECB5FD #F7E1FE

Accessibility & contrast

On white

2.57
#DC79FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#DC79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79FC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79FC#FFFFFF#000000##000000
##DC79FC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#DB8DAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc79fc;
/* rgb */ color: rgb(220, 121, 252);
/* oklch */ color: oklch(73.5% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#e9a3fe',
    500: '#dc79fc',
    950: '#000000',
  },
}
SCSS
$custom: #dc79fc;
$custom-light: #e9a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79fc",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 285.344,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73534,
    "c": 0.20409,
    "h": 317.3
  },
  "luminance": 0.35919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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