#DC79DF#DC79DF

#DC79DF is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.176 H 326.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#DC79DF
RGBrgb(220, 121, 223)
HSLhsl(298, 61%, 67%)
HSVhsv(298, 46%, 87%)
CMYKcmyk(1.3%, 45.7%, 0%, 12.5%)
CIE-LABlab(65.14, 53.01, -35.78)
CIE-LCHlch(65.14, 63.96, 325.98°)
OKLaboklab(72.12% 0.1462 -0.0981)
OKLCHoklch(72.12% 0.176 326.1)
XYZxyz(49.6708, 34.2206, 73.7866)
Luminance0.3422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79DF #7CDF79
analogous
#A979DF #DC79DF #DF79AF
triadic
#DC79DF #DFDC79 #79DFDC
tetradic
#DC79DF #DFA979 #7CDF79 #79AFDF
square
#DC79DF #DFA979 #7CDF79 #79AFDF
split-complementary
#DC79DF #AFDF79 #79DFA9
monochromatic
#AF2BB3 #CF48D3 #DC79DF #E9AAEB #F6DCF7

Accessibility & contrast

On white

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

On black

7.84
#DC79DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79DF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79DF#FFFFFF#000000##000000
##DC79DF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#8BA3DC
Tritanopia (blue-blind)
#E184A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc79df;
/* rgb */ color: rgb(220, 121, 223);
/* oklch */ color: oklch(72.1% 0.176 326.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3e9',
    500: '#dc79df',
    950: '#000000',
  },
}
SCSS
$custom: #dc79df;
$custom-light: #e9a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79df",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 298.235,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72124,
    "c": 0.17607,
    "h": 326.1
  },
  "luminance": 0.34218
}

Semantic roles & 50–950 ramp

primary
#DC79DF
secondary
#CBEACA
accent
#C91C21
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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