#DC79E7#DC79E7

#DC79E7 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.184 H 323.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#DC79E7
RGBrgb(220, 121, 231)
HSLhsl(294, 70%, 69%)
HSVhsv(294, 48%, 91%)
CMYKcmyk(4.8%, 47.6%, 0%, 9.4%)
CIE-LABlab(65.48, 54.47, -39.68)
CIE-LCHlch(65.48, 67.39, 323.93°)
OKLaboklab(72.5% 0.1475 -0.1093)
OKLCHoklch(72.5% 0.184 323.5)
XYZxyz(50.7750, 34.6622, 79.6017)
Luminance0.3466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79E7 #84E779
analogous
#A579E7 #DC79E7 #E779BB
triadic
#DC79E7 #E7DC79 #79E7DC
tetradic
#DC79E7 #E7A579 #84E779 #79BBE7
square
#DC79E7 #E7A579 #84E779 #79BBE7
split-complementary
#DC79E7 #BBE779 #79E7A5
monochromatic
#B323C3 #CE45DE #DC79E7 #EAADF0 #F7E1FA

Accessibility & contrast

On white

2.65
#DC79E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#DC79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79E7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79E7#FFFFFF#000000##000000
##DC79E71.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EB
Deuteranopia (green-blind)
#88A3E4
Tritanopia (blue-blind)
#DF86A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc79e7;
/* rgb */ color: rgb(220, 121, 231);
/* oklch */ color: oklch(72.5% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#e9a3ef',
    500: '#dc79e7',
    950: '#000000',
  },
}
SCSS
$custom: #dc79e7;
$custom-light: #e9a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79e7",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 294,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72496,
    "c": 0.18358,
    "h": 323.5
  },
  "luminance": 0.3466
}

Semantic roles & 50–950 ramp

primary
#DC79E7
secondary
#D1EECE
accent
#D21427
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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