#DB78F6#DB78F6

#DB78F6 is a light, vivid purple. Relative luminance 0.351; OKLCH L 73.0% C 0.199 H 318.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#DB78F6
RGBrgb(219, 120, 246)
HSLhsl(287, 88%, 72%)
HSVhsv(287, 51%, 96%)
CMYKcmyk(11%, 51.2%, 0%, 3.5%)
CIE-LABlab(65.86, 57.54, -47.37)
CIE-LCHlch(65.86, 74.53, 320.54°)
OKLaboklab(72.98% 0.1496 -0.1315)
OKLCHoklch(72.98% 0.199 318.7)
XYZxyz(52.5622, 35.1488, 91.1865)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78F6 #93F678
analogous
#9C78F6 #DB78F6 #F678D2
triadic
#DB78F6 #F6DB78 #78F6DB
tetradic
#DB78F6 #F69C78 #93F678 #78D2F6
square
#DB78F6 #F69C78 #93F678 #78D2F6
split-complementary
#DB78F6 #D2F678 #78F69C
monochromatic
#B70FE4 #CC3FF2 #DB78F6 #EAB1FA #F7E2FD

Accessibility & contrast

On white

2.62
#DB78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#DB78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78F6
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78F6#FFFFFF#000000##000000
##DB78F61.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#7FA3F3
Tritanopia (blue-blind)
#DB8AAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db78f6;
/* rgb */ color: rgb(219, 120, 246);
/* oklch */ color: oklch(73.0% 0.199 318.7);
Tailwind
colors: {
  custom: {
    50: '#e8a2f9',
    500: '#db78f6',
    950: '#000000',
  },
}
SCSS
$custom: #db78f6;
$custom-light: #e8a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db78f6",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 287.143,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72976,
    "c": 0.19922,
    "h": 318.7
  },
  "luminance": 0.35147
}

Semantic roles & 50–950 ramp

primary
#DB78F6
secondary
#DCF5D5
accent
#E40132
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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