#DC79D2#DC79D2

#DC79D2 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.5% C 0.164 H 330.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#DC79D2
RGBrgb(220, 121, 210)
HSLhsl(306, 59%, 67%)
HSVhsv(306, 45%, 86%)
CMYKcmyk(0%, 45%, 4.5%, 13.7%)
CIE-LABlab(64.60, 50.71, -29.36)
CIE-LCHlch(64.60, 58.60, 329.94°)
OKLaboklab(71.55% 0.1437 -0.0798)
OKLCHoklch(71.55% 0.164 330.9)
XYZxyz(47.9850, 33.5462, 64.9079)
Luminance0.3354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79D2 #79DC83
analogous
#B579DC #DC79D2 #DC79A1
triadic
#DC79D2 #D2DC79 #79D2DC
tetradic
#DC79D2 #DCB579 #79DC83 #79A1DC
square
#DC79D2 #DCB579 #79DC83 #79A1DC
split-complementary
#DC79D2 #A1DC79 #79DCB5
monochromatic
#AD2DA0 #CF48C2 #DC79D2 #E9AAE2 #F5DAF3

Accessibility & contrast

On white

2.72
#DC79D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#DC79D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79D2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79D2#FFFFFF#000000##000000
##DC79D21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#90A2CF
Tritanopia (blue-blind)
#E3809C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc79d2;
/* rgb */ color: rgb(220, 121, 210);
/* oklch */ color: oklch(71.5% 0.164 330.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2e0',
    500: '#dc79d2',
    950: '#000000',
  },
}
SCSS
$custom: #dc79d2;
$custom-light: #e9a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79d2",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 306.061,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71549,
    "c": 0.16438,
    "h": 330.9
  },
  "luminance": 0.33544
}

Semantic roles & 50–950 ramp

primary
#DC79D2
secondary
#C9E8CC
accent
#C6301F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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