#DC79ED#DC79ED

#DC79ED is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.8% C 0.189 H 321.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#DC79ED
RGBrgb(220, 121, 237)
HSLhsl(291, 76%, 70%)
HSVhsv(291, 49%, 93%)
CMYKcmyk(7.2%, 48.9%, 0%, 7.1%)
CIE-LABlab(65.75, 55.60, -42.58)
CIE-LCHlch(65.75, 70.03, 322.55°)
OKLaboklab(72.78% 0.1484 -0.1176)
OKLCHoklch(72.78% 0.189 321.6)
XYZxyz(51.6369, 35.0070, 84.1414)
Luminance0.3500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79ED #8AED79
analogous
#A279ED #DC79ED #ED79C4
triadic
#DC79ED #EDDC79 #79EDDC
tetradic
#DC79ED #EDA279 #8AED79 #79C4ED
square
#DC79ED #EDA279 #8AED79 #79C4ED
split-complementary
#DC79ED #C4ED79 #79EDA2
monochromatic
#B51CD0 #CE43E6 #DC79ED #EAAFF4 #F8E4FB

Accessibility & contrast

On white

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

On black

8.00
#DC79ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79ED
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79ED#FFFFFF#000000##000000
##DC79ED1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F1
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#DE88A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc79ed;
/* rgb */ color: rgb(220, 121, 237);
/* oklch */ color: oklch(72.8% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#e9a3f3',
    500: '#dc79ed',
    950: '#000000',
  },
}
SCSS
$custom: #dc79ed;
$custom-light: #e9a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79ed",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 291.207,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.18934,
    "h": 321.6
  },
  "luminance": 0.35005
}

Semantic roles & 50–950 ramp

primary
#DC79ED
secondary
#D6F1D1
accent
#D90D2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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