#DB79DC#DB79DC

#DB79DC is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.173 H 326.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#DB79DC
RGBrgb(219, 121, 220)
HSLhsl(299, 59%, 67%)
HSVhsv(299, 45%, 86%)
CMYKcmyk(0.5%, 45%, 0%, 13.7%)
CIE-LABlab(64.89, 52.18, -34.51)
CIE-LCHlch(64.89, 62.56, 326.52°)
OKLaboklab(71.87% 0.1445 -0.0945)
OKLCHoklch(71.87% 0.173 326.8)
XYZxyz(48.9681, 33.9046, 71.6612)
Luminance0.3390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79DC #7ADC79
analogous
#AA79DC #DB79DC #DC79AC
triadic
#DB79DC #DCDB79 #79DCDB
tetradic
#DB79DC #DCAA79 #7ADC79 #79ACDC
square
#DB79DC #DCAA79 #7ADC79 #79ACDC
split-complementary
#DB79DC #ACDC79 #79DCAA
monochromatic
#AC2DAD #CE48CF #DB79DC #E8AAE9 #F5DAF5

Accessibility & contrast

On white

2.70
#DB79DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#DB79DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79DC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79DC#FFFFFF#000000##000000
##DB79DC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#E083A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db79dc;
/* rgb */ color: rgb(219, 121, 220);
/* oklch */ color: oklch(71.9% 0.173 326.8);
Tailwind
colors: {
  custom: {
    50: '#e8a3e7',
    500: '#db79dc',
    950: '#000000',
  },
}
SCSS
$custom: #db79dc;
$custom-light: #e8a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db79dc",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 299.394,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7187,
    "c": 0.17268,
    "h": 326.8
  },
  "luminance": 0.33902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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