#DC79EF#DC79EF

#DC79EF is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.9% C 0.191 H 321.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#DC79EF
RGBrgb(220, 121, 239)
HSLhsl(290, 79%, 71%)
HSVhsv(290, 49%, 94%)
CMYKcmyk(7.9%, 49.4%, 0%, 6.3%)
CIE-LABlab(65.85, 55.97, -43.54)
CIE-LCHlch(65.85, 70.91, 322.12°)
OKLaboklab(72.88% 0.1486 -0.1204)
OKLCHoklch(72.88% 0.191 321)
XYZxyz(51.9307, 35.1245, 85.6889)
Luminance0.3512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79EF #8CEF79
analogous
#A179EF #DC79EF #EF79C7
triadic
#DC79EF #EFDC79 #79EFDC
tetradic
#DC79EF #EFA179 #8CEF79 #79C7EF
square
#DC79EF #EFA179 #8CEF79 #79C7EF
split-complementary
#DC79EF #C7EF79 #79EFA1
monochromatic
#B619D4 #CE42E8 #DC79EF #EAB0F6 #F8E4FC

Accessibility & contrast

On white

2.62
#DC79EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#DC79EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79EF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79EF#FFFFFF#000000##000000
##DC79EF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#DE89A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc79ef;
/* rgb */ color: rgb(220, 121, 239);
/* oklch */ color: oklch(72.9% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#e9a3f4',
    500: '#dc79ef',
    950: '#000000',
  },
}
SCSS
$custom: #dc79ef;
$custom-light: #e9a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79ef",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 290.339,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.19128,
    "h": 321
  },
  "luminance": 0.35122
}

Semantic roles & 50–950 ramp

primary
#DC79EF
secondary
#D7F2D2
accent
#DB0B2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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