#DB79EB#DB79EB

#DB79EB is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.187 H 321.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DB79EB
RGBrgb(219, 121, 235)
HSLhsl(292, 74%, 70%)
HSVhsv(292, 49%, 92%)
CMYKcmyk(6.8%, 48.5%, 0%, 7.8%)
CIE-LABlab(65.54, 54.94, -41.81)
CIE-LCHlch(65.54, 69.05, 322.73°)
OKLaboklab(72.57% 0.1469 -0.1155)
OKLCHoklch(72.57% 0.187 321.8)
XYZxyz(51.0445, 34.7351, 82.5969)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79EB #89EB79
analogous
#A279EB #DB79EB #EB79C2
triadic
#DB79EB #EBDB79 #79EBDB
tetradic
#DB79EB #EBA279 #89EB79 #79C2EB
square
#DB79EB #EBA279 #89EB79 #79C2EB
split-complementary
#DB79EB #C2EB79 #79EBA2
monochromatic
#B31ECB #CD44E3 #DB79EB #E9AEF3 #F8E4FB

Accessibility & contrast

On white

2.64
#DB79EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#DB79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79EB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79EB#FFFFFF#000000##000000
##DB79EB1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#DD88A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db79eb;
/* rgb */ color: rgb(219, 121, 235);
/* oklch */ color: oklch(72.6% 0.187 321.8);
Tailwind
colors: {
  custom: {
    50: '#e8a3f2',
    500: '#db79eb',
    950: '#000000',
  },
}
SCSS
$custom: #db79eb;
$custom-light: #e8a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db79eb",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 291.579,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72571,
    "c": 0.18688,
    "h": 321.8
  },
  "luminance": 0.34733
}

Semantic roles & 50–950 ramp

primary
#DB79EB
secondary
#D4F0D0
accent
#D60F2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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