#DB78DF#DB78DF

#DB78DF is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.177 H 325.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#DB78DF
RGBrgb(219, 120, 223)
HSLhsl(298, 62%, 67%)
HSVhsv(298, 46%, 87%)
CMYKcmyk(1.8%, 46.2%, 0%, 12.5%)
CIE-LABlab(64.82, 53.22, -36.28)
CIE-LCHlch(64.82, 64.41, 325.72°)
OKLaboklab(71.86% 0.1465 -0.0996)
OKLCHoklch(71.86% 0.177 325.8)
XYZxyz(49.2481, 33.8231, 73.7322)
Luminance0.3382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78DF #7CDF78
analogous
#A878DF #DB78DF #DF78B0
triadic
#DB78DF #DFDB78 #78DFDB
tetradic
#DB78DF #DFA878 #7CDF78 #78B0DF
square
#DB78DF #DFA878 #7CDF78 #78B0DF
split-complementary
#DB78DF #B0DF78 #78DFA8
monochromatic
#AD2AB2 #CE47D3 #DB78DF #E8A9EB #F5DBF6

Accessibility & contrast

On white

2.70
#DB78DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#DB78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78DF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78DF#FFFFFF#000000##000000
##DB78DF1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D95E3
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#E083A1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db78df;
/* rgb */ color: rgb(219, 120, 223);
/* oklch */ color: oklch(71.9% 0.177 325.8);
Tailwind
colors: {
  custom: {
    50: '#e8a2e9',
    500: '#db78df',
    950: '#000000',
  },
}
SCSS
$custom: #db78df;
$custom-light: #e8a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#db78df",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 297.67,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.1771,
    "h": 325.8
  },
  "luminance": 0.33821
}

Semantic roles & 50–950 ramp

primary
#DB78DF
secondary
#CAEAC9
accent
#C91C23
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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