#DC79DD#DC79DD

#DC79DD is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.174 H 326.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#DC79DD
RGBrgb(220, 121, 221)
HSLhsl(299, 60%, 67%)
HSVhsv(299, 45%, 87%)
CMYKcmyk(0.5%, 45.2%, 0%, 13.3%)
CIE-LABlab(65.05, 52.65, -34.80)
CIE-LCHlch(65.05, 63.11, 326.54°)
OKLaboklab(72.03% 0.1458 -0.0953)
OKLCHoklch(72.03% 0.174 326.8)
XYZxyz(49.4028, 34.1133, 72.3749)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79DD #7ADD79
analogous
#AA79DD #DC79DD #DD79AC
triadic
#DC79DD #DDDC79 #79DDDC
tetradic
#DC79DD #DDAA79 #7ADD79 #79ACDD
square
#DC79DD #DDAA79 #7ADD79 #79ACDD
split-complementary
#DC79DD #ACDD79 #79DDAA
monochromatic
#AE2CAF #CF48D1 #DC79DD #E9AAE9 #F6DBF6

Accessibility & contrast

On white

2.68
#DC79DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#DC79DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79DD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79DD#FFFFFF#000000##000000
##DC79DD1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#8CA2DA
Tritanopia (blue-blind)
#E183A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc79dd;
/* rgb */ color: rgb(220, 121, 221);
/* oklch */ color: oklch(72.0% 0.174 326.8);
Tailwind
colors: {
  custom: {
    50: '#e9a3e8',
    500: '#dc79dd',
    950: '#000000',
  },
}
SCSS
$custom: #dc79dd;
$custom-light: #e9a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79dd",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 299.4,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72033,
    "c": 0.17422,
    "h": 326.8
  },
  "luminance": 0.34111
}

Semantic roles & 50–950 ramp

primary
#DC79DD
secondary
#C9E9C9
accent
#C71E20
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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