#DB79F2#DB79F2

#DB79F2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.9% C 0.194 H 319.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#DB79F2
RGBrgb(219, 121, 242)
HSLhsl(289, 82%, 71%)
HSVhsv(289, 50%, 95%)
CMYKcmyk(9.5%, 50%, 0%, 5.1%)
CIE-LABlab(65.86, 56.28, -45.17)
CIE-LCHlch(65.86, 72.16, 321.25°)
OKLaboklab(72.91% 0.1479 -0.1252)
OKLCHoklch(72.91% 0.194 319.8)
XYZxyz(52.0758, 35.1476, 88.0282)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79F2 #90F279
analogous
#9E79F2 #DB79F2 #F279CC
triadic
#DB79F2 #F2DB79 #79F2DB
tetradic
#DB79F2 #F29E79 #90F279 #79CCF2
square
#DB79F2 #F29E79 #90F279 #79CCF2
split-complementary
#DB79F2 #CCF279 #79F29E
monochromatic
#B615DB #CC41ED #DB79F2 #EAB1F7 #F8E3FC

Accessibility & contrast

On white

2.62
#DB79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#DB79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79F2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79F2#FFFFFF#000000##000000
##DB79F21.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#DC8AAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db79f2;
/* rgb */ color: rgb(219, 121, 242);
/* oklch */ color: oklch(72.9% 0.194 319.8);
Tailwind
colors: {
  custom: {
    50: '#e8a3f7',
    500: '#db79f2',
    950: '#000000',
  },
}
SCSS
$custom: #db79f2;
$custom-light: #e8a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db79f2",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 288.595,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72914,
    "c": 0.19371,
    "h": 319.8
  },
  "luminance": 0.35146
}

Semantic roles & 50–950 ramp

primary
#DB79F2
secondary
#DAF3D3
accent
#DF0730
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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