#DB79EC#DB79EC

#DB79EC is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.188 H 321.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#DB79EC
RGBrgb(219, 121, 236)
HSLhsl(291, 75%, 70%)
HSVhsv(291, 49%, 93%)
CMYKcmyk(7.2%, 48.7%, 0%, 7.5%)
CIE-LABlab(65.59, 55.13, -42.30)
CIE-LCHlch(65.59, 69.49, 322.51°)
OKLaboklab(72.62% 0.1471 -0.1168)
OKLCHoklch(72.62% 0.188 321.5)
XYZxyz(51.1894, 34.7931, 83.3600)
Luminance0.3479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79EC #8AEC79
analogous
#A179EC #DB79EC #EC79C4
triadic
#DB79EC #ECDB79 #79ECDB
tetradic
#DB79EC #ECA179 #8AEC79 #79C4EC
square
#DB79EC #ECA179 #8AEC79 #79C4EC
split-complementary
#DB79EC #C4EC79 #79ECA1
monochromatic
#B31DCD #CD43E4 #DB79EC #E9AFF4 #F8E4FB

Accessibility & contrast

On white

2.64
#DB79EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#DB79EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79EC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79EC#FFFFFF#000000##000000
##DB79EC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#DD88A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db79ec;
/* rgb */ color: rgb(219, 121, 236);
/* oklch */ color: oklch(72.6% 0.188 321.5);
Tailwind
colors: {
  custom: {
    50: '#e8a3f2',
    500: '#db79ec',
    950: '#000000',
  },
}
SCSS
$custom: #db79ec;
$custom-light: #e8a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db79ec",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 291.13,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.18785,
    "h": 321.5
  },
  "luminance": 0.34791
}

Semantic roles & 50–950 ramp

primary
#DB79EC
secondary
#D5F0D0
accent
#D70E2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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