#DB78EF#DB78EF

#DB78EF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.192 H 320.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DB78EF
RGBrgb(219, 120, 239)
HSLhsl(290, 79%, 70%)
HSVhsv(290, 50%, 94%)
CMYKcmyk(8.4%, 49.8%, 0%, 6.3%)
CIE-LABlab(65.54, 56.20, -44.03)
CIE-LCHlch(65.54, 71.39, 321.92°)
OKLaboklab(72.63% 0.1488 -0.1219)
OKLCHoklch(72.63% 0.192 320.7)
XYZxyz(51.5080, 34.7271, 85.6344)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78EF #8CEF78
analogous
#9F78EF #DB78EF #EF78C7
triadic
#DB78EF #EFDB78 #78EFDB
tetradic
#DB78EF #EF9F78 #8CEF78 #78C7EF
square
#DB78EF #EF9F78 #8CEF78 #78C7EF
split-complementary
#DB78EF #C7EF78 #78EF9F
monochromatic
#B419D4 #CC41E9 #DB78EF #EAAFF5 #F8E4FC

Accessibility & contrast

On white

2.64
#DB78EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#DB78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78EF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78EF#FFFFFF#000000##000000
##DB78EF1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#DD88A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db78ef;
/* rgb */ color: rgb(219, 120, 239);
/* oklch */ color: oklch(72.6% 0.192 320.7);
Tailwind
colors: {
  custom: {
    50: '#e8a2f4',
    500: '#db78ef',
    950: '#000000',
  },
}
SCSS
$custom: #db78ef;
$custom-light: #e8a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db78ef",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 289.916,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72626,
    "c": 0.19235,
    "h": 320.7
  },
  "luminance": 0.34725
}

Semantic roles & 50–950 ramp

primary
#DB78EF
secondary
#D7F2D1
accent
#DB0A2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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