#DB79F8#DB79F8

#DB79F8 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.2% C 0.200 H 318.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#DB79F8
RGBrgb(219, 121, 248)
HSLhsl(286, 90%, 72%)
HSVhsv(286, 51%, 97%)
CMYKcmyk(11.7%, 51.2%, 0%, 2.7%)
CIE-LABlab(66.15, 57.44, -48.03)
CIE-LCHlch(66.15, 74.87, 320.10°)
OKLaboklab(73.22% 0.1485 -0.1334)
OKLCHoklch(73.22% 0.2 318.1)
XYZxyz(52.9917, 35.5140, 92.8522)
Luminance0.3551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79F8 #96F879
analogous
#9B79F8 #DB79F8 #F879D6
triadic
#DB79F8 #F8DB79 #79F8DB
tetradic
#DB79F8 #F89B79 #96F879 #79D6F8
square
#DB79F8 #F89B79 #96F879 #79D6F8
split-complementary
#DB79F8 #D6F879 #79F89B
monochromatic
#B80CEA #CB3FF5 #DB79F8 #EBB3FB #F7E2FD

Accessibility & contrast

On white

2.59
#DB79F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#DB79F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79F8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79F8#FFFFFF#000000##000000
##DB79F81.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#DB8CAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db79f8;
/* rgb */ color: rgb(219, 121, 248);
/* oklch */ color: oklch(73.2% 0.200 318.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3fb',
    500: '#db79f8',
    950: '#000000',
  },
}
SCSS
$custom: #db79f8;
$custom-light: #e9a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db79f8",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 286.299,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73215,
    "c": 0.19965,
    "h": 318.1
  },
  "luminance": 0.35512
}

Semantic roles & 50–950 ramp

primary
#DB79F8
secondary
#DDF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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