#DB78E9#DB78E9

#DB78E9 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.187 H 322.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#DB78E9
RGBrgb(219, 120, 233)
HSLhsl(293, 72%, 69%)
HSVhsv(293, 48%, 91%)
CMYKcmyk(6%, 48.5%, 0%, 8.6%)
CIE-LABlab(65.26, 55.07, -41.15)
CIE-LCHlch(65.26, 68.74, 323.23°)
OKLaboklab(72.33% 0.148 -0.1135)
OKLCHoklch(72.33% 0.187 322.5)
XYZxyz(50.6363, 34.3784, 81.0434)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78E9 #86E978
analogous
#A378E9 #DB78E9 #E978BF
triadic
#DB78E9 #E9DB78 #78E9DB
tetradic
#DB78E9 #E9A378 #86E978 #78BFE9
square
#DB78E9 #E9A378 #86E978 #78BFE9
split-complementary
#DB78E9 #BFE978 #78E9A3
monochromatic
#B220C6 #CD43E0 #DB78E9 #E9ADF2 #F7E1FA

Accessibility & contrast

On white

2.67
#DB78E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#DB78E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78E9
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78E9#FFFFFF#000000##000000
##DB78E91.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897ED
Deuteranopia (green-blind)
#85A2E6
Tritanopia (blue-blind)
#DE86A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db78e9;
/* rgb */ color: rgb(219, 120, 233);
/* oklch */ color: oklch(72.3% 0.187 322.5);
Tailwind
colors: {
  custom: {
    50: '#e8a2f0',
    500: '#db78e9',
    950: '#000000',
  },
}
SCSS
$custom: #db78e9;
$custom-light: #e8a2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#db78e9",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 292.566,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72334,
    "c": 0.18654,
    "h": 322.5
  },
  "luminance": 0.34376
}

Semantic roles & 50–950 ramp

primary
#DB78E9
secondary
#D2EFCE
accent
#D4112A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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