#DB78FA#DB78FA

#DB78FA is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.2% C 0.203 H 317.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DB78FA
RGBrgb(219, 120, 250)
HSLhsl(286, 93%, 73%)
HSVhsv(286, 52%, 98%)
CMYKcmyk(12.4%, 52%, 0%, 2%)
CIE-LABlab(66.06, 58.32, -49.27)
CIE-LCHlch(66.06, 76.35, 319.81°)
OKLaboklab(73.18% 0.15 -0.137)
OKLCHoklch(73.18% 0.203 317.6)
XYZxyz(53.1828, 35.3970, 94.4548)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78FA #97FA78
analogous
#9A78FA #DB78FA #FA78D8
triadic
#DB78FA #FADB78 #78FADB
tetradic
#DB78FA #FA9A78 #97FA78 #78D8FA
square
#DB78FA #FA9A78 #97FA78 #78D8FA
split-complementary
#DB78FA #D8FA78 #78FA9A
monochromatic
#B809EF #CB3DF8 #DB78FA #EBB3FC #F7E1FE

Accessibility & contrast

On white

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

On black

8.08
#DB78FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78FA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78FA#FFFFFF#000000##000000
##DB78FA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#DA8CAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db78fa;
/* rgb */ color: rgb(219, 120, 250);
/* oklch */ color: oklch(73.2% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#e9a2fc',
    500: '#db78fa',
    950: '#000000',
  },
}
SCSS
$custom: #db78fa;
$custom-light: #e9a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db78fa",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 285.692,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7318,
    "c": 0.20318,
    "h": 317.6
  },
  "luminance": 0.35395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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