#DC79DB#DC79DB

#DC79DB is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.172 H 327.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#DC79DB
RGBrgb(220, 121, 219)
HSLhsl(301, 59%, 67%)
HSVhsv(301, 45%, 86%)
CMYKcmyk(0%, 45%, 0.5%, 13.7%)
CIE-LABlab(64.97, 52.29, -33.81)
CIE-LCHlch(64.97, 62.27, 327.11°)
OKLaboklab(71.94% 0.1455 -0.0925)
OKLCHoklch(71.94% 0.172 327.5)
XYZxyz(49.1379, 34.0074, 70.9799)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79DB #79DC7A
analogous
#AC79DC #DC79DB #DC79AA
triadic
#DC79DB #DBDC79 #79DBDC
tetradic
#DC79DB #DCAC79 #79DC7A #79AADC
square
#DC79DB #DCAC79 #79DC7A #79AADC
split-complementary
#DC79DB #AADC79 #79DCAC
monochromatic
#AD2DAC #CF48CE #DC79DB #E9AAE8 #F5DAF5

Accessibility & contrast

On white

2.69
#DC79DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#DC79DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79DB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79DB#FFFFFF#000000##000000
##DC79DB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#8DA2D8
Tritanopia (blue-blind)
#E283A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc79db;
/* rgb */ color: rgb(220, 121, 219);
/* oklch */ color: oklch(71.9% 0.172 327.5);
Tailwind
colors: {
  custom: {
    50: '#e9a3e6',
    500: '#dc79db',
    950: '#000000',
  },
}
SCSS
$custom: #dc79db;
$custom-light: #e9a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79db",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 300.606,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71943,
    "c": 0.17239,
    "h": 327.5
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#DC79DB
secondary
#C9E8C9
accent
#C6211F
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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