#DB78F9#DB78F9

#DB78F9 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.1% C 0.202 H 317.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DB78F9
RGBrgb(219, 120, 249)
HSLhsl(286, 91%, 72%)
HSVhsv(286, 52%, 98%)
CMYKcmyk(12%, 51.8%, 0%, 2.4%)
CIE-LABlab(66.01, 58.13, -48.79)
CIE-LCHlch(66.01, 75.89, 319.99°)
OKLaboklab(73.13% 0.1499 -0.1356)
OKLCHoklch(73.13% 0.202 317.9)
XYZxyz(53.0264, 35.3345, 93.6312)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78F9 #96F978
analogous
#9B78F9 #DB78F9 #F978D6
triadic
#DB78F9 #F9DB78 #78F9DB
tetradic
#DB78F9 #F99B78 #96F978 #78D6F9
square
#DB78F9 #F99B78 #96F978 #78D6F9
split-complementary
#DB78F9 #D6F978 #78F99B
monochromatic
#B80AEC #CB3DF6 #DB78F9 #EBB3FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.07
#DB78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78F9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78F9#FFFFFF#000000##000000
##DB78F91.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#7DA4F6
Tritanopia (blue-blind)
#DB8BAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db78f9;
/* rgb */ color: rgb(219, 120, 249);
/* oklch */ color: oklch(73.1% 0.202 317.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2fc',
    500: '#db78f9',
    950: '#000000',
  },
}
SCSS
$custom: #db78f9;
$custom-light: #e9a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db78f9",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 286.047,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73129,
    "c": 0.20219,
    "h": 317.9
  },
  "luminance": 0.35333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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