#DB78DC#DB78DC

#DB78DC is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.174 H 326.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#DB78DC
RGBrgb(219, 120, 220)
HSLhsl(299, 59%, 67%)
HSVhsv(299, 45%, 86%)
CMYKcmyk(0.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(64.69, 52.68, -34.81)
CIE-LCHlch(64.69, 63.14, 326.55°)
OKLaboklab(71.73% 0.1459 -0.0953)
OKLCHoklch(71.73% 0.174 326.8)
XYZxyz(48.8472, 33.6628, 71.6209)
Luminance0.3366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78DC #79DC78
analogous
#A978DC #DB78DC #DC78AB
triadic
#DB78DC #DCDB78 #78DCDB
tetradic
#DB78DC #DCA978 #79DC78 #78ABDC
square
#DB78DC #DCA978 #79DC78 #78ABDC
split-complementary
#DB78DC #ABDC78 #78DCA9
monochromatic
#AC2DAD #CE47CF #DB78DC #E8A9E9 #F5D9F5

Accessibility & contrast

On white

2.72
#DB78DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#DB78DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78DC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78DC#FFFFFF#000000##000000
##DB78DC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#8BA1D9
Tritanopia (blue-blind)
#E082A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db78dc;
/* rgb */ color: rgb(219, 120, 220);
/* oklch */ color: oklch(71.7% 0.174 326.8);
Tailwind
colors: {
  custom: {
    50: '#e8a2e7',
    500: '#db78dc',
    950: '#000000',
  },
}
SCSS
$custom: #db78dc;
$custom-light: #e8a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db78dc",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 299.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.17432,
    "h": 326.8
  },
  "luminance": 0.3366
}

Semantic roles & 50–950 ramp

primary
#DB78DC
secondary
#C8E8C8
accent
#C61F21
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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