#DB78FD#DB78FD

#DB78FD is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.3% C 0.206 H 316.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DB78FD
RGBrgb(219, 120, 253)
HSLhsl(285, 97%, 73%)
HSVhsv(285, 53%, 99%)
CMYKcmyk(13.4%, 52.6%, 0%, 0.8%)
CIE-LABlab(66.20, 58.91, -50.68)
CIE-LCHlch(66.20, 77.71, 319.30°)
OKLaboklab(73.33% 0.1503 -0.1411)
OKLCHoklch(73.33% 0.206 316.8)
XYZxyz(53.6569, 35.5867, 96.9519)
Luminance0.3558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78FD #9AFD78
analogous
#9878FD #DB78FD #FD78DC
triadic
#DB78FD #FDDB78 #78FDDB
tetradic
#DB78FD #FD9878 #9AFD78 #78DCFD
square
#DB78FD #FD9878 #9AFD78 #78DCFD
split-complementary
#DB78FD #DCFD78 #78FD98
monochromatic
#B904F7 #CB3CFC #DB78FD #EBB4FE #F7E1FF

Accessibility & contrast

On white

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

On black

8.12
#DB78FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78FD
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78FD#FFFFFF#000000##000000
##DB78FD1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#DA8CB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db78fd;
/* rgb */ color: rgb(219, 120, 253);
/* oklch */ color: oklch(73.3% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#e9a2fe',
    500: '#db78fd',
    950: '#000000',
  },
}
SCSS
$custom: #db78fd;
$custom-light: #e9a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db78fd",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 284.662,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73335,
    "c": 0.20617,
    "h": 316.8
  },
  "luminance": 0.35585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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