#DB79E2#DB79E2

#DB79E2 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.178 H 324.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#DB79E2
RGBrgb(219, 121, 226)
HSLhsl(296, 64%, 68%)
HSVhsv(296, 46%, 89%)
CMYKcmyk(3.1%, 46.5%, 0%, 11.4%)
CIE-LABlab(65.14, 53.27, -37.45)
CIE-LCHlch(65.14, 65.12, 324.89°)
OKLaboklab(72.15% 0.1456 -0.1029)
OKLCHoklch(72.15% 0.178 324.7)
XYZxyz(49.7770, 34.2281, 75.9215)
Luminance0.3423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79E2 #80E279
analogous
#A679E2 #DB79E2 #E279B4
triadic
#DB79E2 #E2DB79 #79E2DB
tetradic
#DB79E2 #E2A679 #80E279 #79B4E2
square
#DB79E2 #E2A679 #80E279 #79B4E2
split-complementary
#DB79E2 #B4E279 #79E2A6
monochromatic
#AF28B9 #CD47D7 #DB79E2 #E9ABED #F6DEF8

Accessibility & contrast

On white

2.68
#DB79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#DB79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79E2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79E2#FFFFFF#000000##000000
##DB79E21.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#DF85A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db79e2;
/* rgb */ color: rgb(219, 121, 226);
/* oklch */ color: oklch(72.1% 0.178 324.7);
Tailwind
colors: {
  custom: {
    50: '#e8a3eb',
    500: '#db79e2',
    950: '#000000',
  },
}
SCSS
$custom: #db79e2;
$custom-light: #e8a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db79e2",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 296,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72145,
    "c": 0.17827,
    "h": 324.7
  },
  "luminance": 0.34226
}

Semantic roles & 50–950 ramp

primary
#DB79E2
secondary
#CDEBCB
accent
#CC1925
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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