#DB78F7#DB78F7

#DB78F7 is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.0% C 0.200 H 318.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DB78F7
RGBrgb(219, 120, 247)
HSLhsl(287, 89%, 72%)
HSVhsv(287, 51%, 97%)
CMYKcmyk(11.3%, 51.4%, 0%, 3.1%)
CIE-LABlab(65.91, 57.74, -47.85)
CIE-LCHlch(65.91, 74.99, 320.35°)
OKLaboklab(73.03% 0.1497 -0.1329)
OKLCHoklch(73.03% 0.2 318.4)
XYZxyz(52.7161, 35.2104, 91.9971)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78F7 #94F778
analogous
#9C78F7 #DB78F7 #F778D3
triadic
#DB78F7 #F7DB78 #78F7DB
tetradic
#DB78F7 #F79C78 #94F778 #78D3F7
square
#DB78F7 #F79C78 #94F778 #78D3F7
split-complementary
#DB78F7 #D3F778 #78F79C
monochromatic
#B70EE7 #CC3EF4 #DB78F7 #EAB2FA #F7E2FD

Accessibility & contrast

On white

2.61
#DB78F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DB78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78F7
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78F7#FFFFFF#000000##000000
##DB78F71.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFB
Deuteranopia (green-blind)
#7EA4F4
Tritanopia (blue-blind)
#DB8BAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db78f7;
/* rgb */ color: rgb(219, 120, 247);
/* oklch */ color: oklch(73.0% 0.200 318.4);
Tailwind
colors: {
  custom: {
    50: '#e9a2fa',
    500: '#db78f7',
    950: '#000000',
  },
}
SCSS
$custom: #db78f7;
$custom-light: #e9a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db78f7",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 286.772,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.2002,
    "h": 318.4
  },
  "luminance": 0.35208
}

Semantic roles & 50–950 ramp

primary
#DB78F7
secondary
#DDF5D5
accent
#E50033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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