#DB79F6#DB79F6

#DB79F6 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.1% C 0.198 H 318.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DB79F6
RGBrgb(219, 121, 246)
HSLhsl(287, 87%, 72%)
HSVhsv(287, 51%, 96%)
CMYKcmyk(11%, 50.8%, 0%, 3.5%)
CIE-LABlab(66.05, 57.05, -47.08)
CIE-LCHlch(66.05, 73.97, 320.47°)
OKLaboklab(73.11% 0.1483 -0.1307)
OKLCHoklch(73.11% 0.198 318.6)
XYZxyz(52.6831, 35.3906, 91.2268)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79F6 #94F679
analogous
#9D79F6 #DB79F6 #F679D3
triadic
#DB79F6 #F6DB79 #79F6DB
tetradic
#DB79F6 #F69D79 #94F679 #79D3F6
square
#DB79F6 #F69D79 #94F679 #79D3F6
split-complementary
#DB79F6 #D3F679 #79F69D
monochromatic
#B70FE5 #CC40F2 #DB79F6 #EAB2FA #F7E2FD

Accessibility & contrast

On white

2.60
#DB79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#DB79F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79F6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79F6#FFFFFF#000000##000000
##DB79F61.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#80A4F3
Tritanopia (blue-blind)
#DB8BAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db79f6;
/* rgb */ color: rgb(219, 121, 246);
/* oklch */ color: oklch(73.1% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#e8a3f9',
    500: '#db79f6',
    950: '#000000',
  },
}
SCSS
$custom: #db79f6;
$custom-light: #e8a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db79f6",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 287.04,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73114,
    "c": 0.19766,
    "h": 318.6
  },
  "luminance": 0.35389
}

Semantic roles & 50–950 ramp

primary
#DB79F6
secondary
#DDF5D6
accent
#E40232
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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