#DC79CC#DC79CC

#DC79CC is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.159 H 333.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#DC79CC
RGBrgb(220, 121, 204)
HSLhsl(310, 59%, 67%)
HSVhsv(310, 45%, 86%)
CMYKcmyk(0%, 45%, 7.3%, 13.7%)
CIE-LABlab(64.37, 49.69, -26.35)
CIE-LCHlch(64.37, 56.25, 332.06°)
OKLaboklab(71.3% 0.1424 -0.0713)
OKLCHoklch(71.3% 0.159 333.4)
XYZxyz(47.2515, 33.2528, 61.0446)
Luminance0.3325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79CC #79DC89
analogous
#BB79DC #DC79CC #DC799B
triadic
#DC79CC #CCDC79 #79CCDC
tetradic
#DC79CC #DCBB79 #79DC89 #799BDC
square
#DC79CC #DCBB79 #79DC89 #799BDC
split-complementary
#DC79CC #9BDC79 #79DCBB
monochromatic
#AD2D99 #CF48BA #DC79CC #E9AADE #F5DAF1

Accessibility & contrast

On white

2.75
#DC79CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#DC79CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79CC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79CC#FFFFFF#000000##000000
##DC79CC1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#93A1C9
Tritanopia (blue-blind)
#E47F99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc79cc;
/* rgb */ color: rgb(220, 121, 204);
/* oklch */ color: oklch(71.3% 0.159 333.4);
Tailwind
colors: {
  custom: {
    50: '#e9a2db',
    500: '#dc79cc',
    950: '#000000',
  },
}
SCSS
$custom: #dc79cc;
$custom-light: #e9a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79cc",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 309.697,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71295,
    "c": 0.15926,
    "h": 333.4
  },
  "luminance": 0.3325
}

Semantic roles & 50–950 ramp

primary
#DC79CC
secondary
#C9E8CE
accent
#C63A1F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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