#DB78FF#DB78FF

#DB78FF is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.4% C 0.208 H 316.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#DB78FF
RGBrgb(219, 120, 255)
HSLhsl(284, 100%, 74%)
HSVhsv(284, 53%, 100%)
CMYKcmyk(14.1%, 52.9%, 0%, 0%)
CIE-LABlab(66.30, 59.31, -51.62)
CIE-LCHlch(66.30, 78.63, 318.96°)
OKLaboklab(73.44% 0.1505 -0.1438)
OKLCHoklch(73.44% 0.208 316.3)
XYZxyz(53.9772, 35.7148, 98.6386)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78FF #9CFF78
analogous
#9778FF #DB78FF #FF78DF
triadic
#DB78FF #FFDB78 #78FFDB
tetradic
#DB78FF #FF9778 #9CFF78 #78DFFF
square
#DB78FF #FF9778 #9CFF78 #78DFFF
split-complementary
#DB78FF #DFFF78 #78FF97
monochromatic
#B900FD #CB3BFF #DB78FF #EBB5FF #F7E0FF

Accessibility & contrast

On white

2.58
#DB78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#DB78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78FF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78FF#FFFFFF#000000##000000
##DB78FF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#D98DB1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db78ff;
/* rgb */ color: rgb(219, 120, 255);
/* oklch */ color: oklch(73.4% 0.208 316.3);
Tailwind
colors: {
  custom: {
    50: '#e9a2ff',
    500: '#db78ff',
    950: '#000000',
  },
}
SCSS
$custom: #db78ff;
$custom-light: #e9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db78ff",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 284,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.20818,
    "h": 316.3
  },
  "luminance": 0.35713
}

Semantic roles & 50–950 ramp

primary
#DB78FF
secondary
#DDF7D4
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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