#DB78E6#DB78E6

#DB78E6 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.2% C 0.184 H 323.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#DB78E6
RGBrgb(219, 120, 230)
HSLhsl(294, 69%, 69%)
HSVhsv(294, 48%, 90%)
CMYKcmyk(4.8%, 47.8%, 0%, 9.8%)
CIE-LABlab(65.13, 54.51, -39.69)
CIE-LCHlch(65.13, 67.43, 323.94°)
OKLaboklab(72.19% 0.1476 -0.1093)
OKLCHoklch(72.19% 0.184 323.5)
XYZxyz(50.2114, 34.2085, 78.8056)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78E6 #83E678
analogous
#A478E6 #DB78E6 #E678BA
triadic
#DB78E6 #E6DB78 #78E6DB
tetradic
#DB78E6 #E6A478 #83E678 #78BAE6
square
#DB78E6 #E6A478 #83E678 #78BAE6
split-complementary
#DB78E6 #BAE678 #78E6A4
monochromatic
#B024C0 #CD44DC #DB78E6 #E9ACF0 #F7DFF9

Accessibility & contrast

On white

2.68
#DB78E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#DB78E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78E6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78E6#FFFFFF#000000##000000
##DB78E61.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EA
Deuteranopia (green-blind)
#87A2E3
Tritanopia (blue-blind)
#DE85A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db78e6;
/* rgb */ color: rgb(219, 120, 230);
/* oklch */ color: oklch(72.2% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#e8a2ee',
    500: '#db78e6',
    950: '#000000',
  },
}
SCSS
$custom: #db78e6;
$custom-light: #e8a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#db78e6",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 294,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72191,
    "c": 0.18368,
    "h": 323.5
  },
  "luminance": 0.34206
}

Semantic roles & 50–950 ramp

primary
#DB78E6
secondary
#D0EDCC
accent
#D11528
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB78E6

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

Preview Lab → · Contrast checker → · Palette generator →

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