#DB79E7#DB79E7

#DB79E7 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.4% C 0.183 H 323.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#DB79E7
RGBrgb(219, 121, 231)
HSLhsl(293, 70%, 69%)
HSVhsv(293, 48%, 91%)
CMYKcmyk(5.2%, 47.6%, 0%, 9.4%)
CIE-LABlab(65.36, 54.20, -39.88)
CIE-LCHlch(65.36, 67.29, 323.65°)
OKLaboklab(72.38% 0.1464 -0.1099)
OKLCHoklch(72.38% 0.183 323.1)
XYZxyz(50.4731, 34.5066, 79.5876)
Luminance0.3450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79E7 #85E779
analogous
#A479E7 #DB79E7 #E779BC
triadic
#DB79E7 #E7DB79 #79E7DB
tetradic
#DB79E7 #E7A479 #85E779 #79BCE7
square
#DB79E7 #E7A479 #85E779 #79BCE7
split-complementary
#DB79E7 #BCE779 #79E7A4
monochromatic
#B123C3 #CD45DE #DB79E7 #E9ADF0 #F7E1FA

Accessibility & contrast

On white

2.66
#DB79E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#DB79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79E7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79E7#FFFFFF#000000##000000
##DB79E71.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EB
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#DE87A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db79e7;
/* rgb */ color: rgb(219, 121, 231);
/* oklch */ color: oklch(72.4% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#e8a3ef',
    500: '#db79e7',
    950: '#000000',
  },
}
SCSS
$custom: #db79e7;
$custom-light: #e8a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#db79e7",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 293.455,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72379,
    "c": 0.18303,
    "h": 323.1
  },
  "luminance": 0.34504
}

Semantic roles & 50–950 ramp

primary
#DB79E7
secondary
#D1EECE
accent
#D21429
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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