#DB79FC#DB79FC

#DB79FC is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.4% C 0.204 H 317.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#DB79FC
RGBrgb(219, 121, 252)
HSLhsl(285, 96%, 73%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(13.1%, 52%, 0%, 1.2%)
CIE-LABlab(66.34, 58.23, -49.92)
CIE-LCHlch(66.34, 76.69, 319.39°)
OKLaboklab(73.42% 0.1489 -0.1389)
OKLCHoklch(73.42% 0.204 317)
XYZxyz(53.6189, 35.7649, 96.1554)
Luminance0.3576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB79FC #9AFC79
analogous
#9979FC #DB79FC #FC79DC
triadic
#DB79FC #FCDB79 #79FCDB
tetradic
#DB79FC #FC9979 #9AFC79 #79DCFC
square
#DB79FC #FC9979 #9AFC79 #79DCFC
split-complementary
#DB79FC #DCFC79 #79FC99
monochromatic
#B905F5 #CB3DFB #DB79FC #EBB5FD #F7E1FE

Accessibility & contrast

On white

2.58
#DB79FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#DB79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB79FC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB79FC#FFFFFF#000000##000000
##DB79FC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#DA8DAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db79fc;
/* rgb */ color: rgb(219, 121, 252);
/* oklch */ color: oklch(73.4% 0.204 317.0);
Tailwind
colors: {
  custom: {
    50: '#e9a3fe',
    500: '#db79fc',
    950: '#000000',
  },
}
SCSS
$custom: #db79fc;
$custom-light: #e9a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db79fc",
  "rgb": {
    "r": 219,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 284.885,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.20365,
    "h": 317
  },
  "luminance": 0.35763
}

Semantic roles & 50–950 ramp

primary
#DB79FC
secondary
#DDF7D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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