#DB78FE#DB78FE

#DB78FE is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.4% C 0.207 H 316.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DB78FE
RGBrgb(219, 120, 254)
HSLhsl(284, 99%, 73%)
HSVhsv(284, 53%, 100%)
CMYKcmyk(13.8%, 52.8%, 0%, 0.4%)
CIE-LABlab(66.25, 59.11, -51.15)
CIE-LCHlch(66.25, 78.17, 319.13°)
OKLaboklab(73.39% 0.1504 -0.1425)
OKLCHoklch(73.39% 0.207 316.5)
XYZxyz(53.8166, 35.6506, 97.7931)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78FE #9BFE78
analogous
#9878FE #DB78FE #FE78DE
triadic
#DB78FE #FEDB78 #78FEDB
tetradic
#DB78FE #FE9878 #9BFE78 #78DEFE
square
#DB78FE #FE9878 #9BFE78 #78DEFE
split-complementary
#DB78FE #DEFE78 #78FE98
monochromatic
#B902FA #CB3BFE #DB78FE #EBB5FE #F7E1FF

Accessibility & contrast

On white

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

On black

8.13
#DB78FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78FE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78FE#FFFFFF#000000##000000
##DB78FE1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#DA8DB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db78fe;
/* rgb */ color: rgb(219, 120, 254);
/* oklch */ color: oklch(73.4% 0.207 316.5);
Tailwind
colors: {
  custom: {
    50: '#e9a2ff',
    500: '#db78fe',
    950: '#000000',
  },
}
SCSS
$custom: #db78fe;
$custom-light: #e9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db78fe",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 284.328,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73388,
    "c": 0.20717,
    "h": 316.5
  },
  "luminance": 0.35649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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