#DB79E4#DB79E4

#DB79E4 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.2% C 0.180 H 324.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#DB79E4
RGBrgb(219, 121, 228)
HSLhsl(295, 66%, 68%)
HSVhsv(295, 47%, 89%)
CMYKcmyk(3.9%, 46.9%, 0%, 10.6%)
CIE-LABlab(65.23, 53.64, -38.42)
CIE-LCHlch(65.23, 65.98, 324.39°)
OKLaboklab(72.24% 0.1459 -0.1057)
OKLCHoklch(72.24% 0.18 324.1)
XYZxyz(50.0531, 34.3386, 77.3752)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79E4 #82E479
analogous
#A579E4 #DB79E4 #E479B7
triadic
#DB79E4 #E4DB79 #79E4DB
tetradic
#DB79E4 #E4A579 #82E479 #79B7E4
square
#DB79E4 #E4A579 #82E479 #79B7E4
split-complementary
#DB79E4 #B7E479 #79E4A5
monochromatic
#B026BD #CD46DA #DB79E4 #E9ACEE #F6DFF9

Accessibility & contrast

On white

2.67
#DB79E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#DB79E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79E4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79E4#FFFFFF#000000##000000
##DB79E41.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E8
Deuteranopia (green-blind)
#88A2E1
Tritanopia (blue-blind)
#DF86A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db79e4;
/* rgb */ color: rgb(219, 121, 228);
/* oklch */ color: oklch(72.2% 0.180 324.1);
Tailwind
colors: {
  custom: {
    50: '#e8a3ed',
    500: '#db79e4',
    950: '#000000',
  },
}
SCSS
$custom: #db79e4;
$custom-light: #e8a3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#db79e4",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 294.953,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72238,
    "c": 0.18016,
    "h": 324.1
  },
  "luminance": 0.34336
}

Semantic roles & 50–950 ramp

primary
#DB79E4
secondary
#CFECCC
accent
#CE1727
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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