#DC79F8#DC79F8

#DC79F8 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.3% C 0.200 H 318.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DC79F8
RGBrgb(220, 121, 248)
HSLhsl(287, 90%, 72%)
HSVhsv(287, 51%, 97%)
CMYKcmyk(11.3%, 51.2%, 0%, 2.7%)
CIE-LABlab(66.27, 57.70, -47.83)
CIE-LCHlch(66.27, 74.95, 320.35°)
OKLaboklab(73.33% 0.1497 -0.1328)
OKLCHoklch(73.33% 0.2 318.4)
XYZxyz(53.2936, 35.6697, 92.8664)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79F8 #95F879
analogous
#9D79F8 #DC79F8 #F879D4
triadic
#DC79F8 #F8DC79 #79F8DC
tetradic
#DC79F8 #F89D79 #95F879 #79D4F8
square
#DC79F8 #F89D79 #95F879 #79D4F8
split-complementary
#DC79F8 #D4F879 #79F89D
monochromatic
#B90CEA #CD3FF5 #DC79F8 #EBB3FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.13
#DC79F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79F8
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79F8#FFFFFF#000000##000000
##DC79F81.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#DC8CAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc79f8;
/* rgb */ color: rgb(220, 121, 248);
/* oklch */ color: oklch(73.3% 0.200 318.4);
Tailwind
colors: {
  custom: {
    50: '#e9a3fb',
    500: '#dc79f8',
    950: '#000000',
  },
}
SCSS
$custom: #dc79f8;
$custom-light: #e9a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79f8",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 286.772,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7333,
    "c": 0.20012,
    "h": 318.4
  },
  "luminance": 0.35668
}

Semantic roles & 50–950 ramp

primary
#DC79F8
secondary
#DDF6D5
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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