#DB79F7#DB79F7

#DB79F7 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.2% C 0.199 H 318.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DB79F7
RGBrgb(219, 121, 247)
HSLhsl(287, 89%, 72%)
HSVhsv(287, 51%, 97%)
CMYKcmyk(11.3%, 51%, 0%, 3.1%)
CIE-LABlab(66.10, 57.25, -47.55)
CIE-LCHlch(66.10, 74.42, 320.28°)
OKLaboklab(73.17% 0.1484 -0.132)
OKLCHoklch(73.17% 0.199 318.3)
XYZxyz(52.8370, 35.4521, 92.0374)
Luminance0.3545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79F7 #95F779
analogous
#9C79F7 #DB79F7 #F779D4
triadic
#DB79F7 #F7DB79 #79F7DB
tetradic
#DB79F7 #F79C79 #95F779 #79D4F7
square
#DB79F7 #F79C79 #95F779 #79D4F7
split-complementary
#DB79F7 #D4F779 #79F79C
monochromatic
#B70EE8 #CB3FF4 #DB79F7 #EBB3FA #F7E2FD

Accessibility & contrast

On white

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

On black

8.09
#DB79F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79F7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79F7#FFFFFF#000000##000000
##DB79F71.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#DB8BAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db79f7;
/* rgb */ color: rgb(219, 121, 247);
/* oklch */ color: oklch(73.2% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#e8a3fa',
    500: '#db79f7',
    950: '#000000',
  },
}
SCSS
$custom: #db79f7;
$custom-light: #e8a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db79f7",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 286.667,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73165,
    "c": 0.19866,
    "h": 318.3
  },
  "luminance": 0.3545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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