#DC79D1#DC79D1

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

Color values

HEX#DC79D1
RGBrgb(220, 121, 209)
HSLhsl(307, 59%, 67%)
HSVhsv(307, 45%, 86%)
CMYKcmyk(0%, 45%, 5%, 13.7%)
CIE-LABlab(64.56, 50.54, -28.86)
CIE-LCHlch(64.56, 58.20, 330.28°)
OKLaboklab(71.51% 0.1435 -0.0784)
OKLCHoklch(71.51% 0.164 331.3)
XYZxyz(47.8608, 33.4965, 64.2538)
Luminance0.3349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79D1 #79DC84
analogous
#B679DC #DC79D1 #DC79A0
triadic
#DC79D1 #D1DC79 #79D1DC
tetradic
#DC79D1 #DCB679 #79DC84 #79A0DC
square
#DC79D1 #DCB679 #79DC84 #79A0DC
split-complementary
#DC79D1 #A0DC79 #79DCB6
monochromatic
#AD2D9F #CF48C0 #DC79D1 #E9AAE2 #F5DAF2

Accessibility & contrast

On white

2.73
#DC79D1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#DC79D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79D1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79D1#FFFFFF#000000##000000
##DC79D11.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D4
Deuteranopia (green-blind)
#91A2CE
Tritanopia (blue-blind)
#E3809B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc79d1;
/* rgb */ color: rgb(220, 121, 209);
/* oklch */ color: oklch(71.5% 0.164 331.3);
Tailwind
colors: {
  custom: {
    50: '#e9a2df',
    500: '#dc79d1',
    950: '#000000',
  },
}
SCSS
$custom: #dc79d1;
$custom-light: #e9a2df;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79d1",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 209
  },
  "hsl": {
    "h": 306.667,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71506,
    "c": 0.16351,
    "h": 331.3
  },
  "luminance": 0.33494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC79D1

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

Preview Lab → · Contrast checker → · Palette generator →

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