#DB78F5#DB78F5

#DB78F5 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.9% C 0.198 H 319.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#DB78F5
RGBrgb(219, 120, 245)
HSLhsl(288, 86%, 72%)
HSVhsv(288, 51%, 96%)
CMYKcmyk(10.6%, 51%, 0%, 3.9%)
CIE-LABlab(65.82, 57.35, -46.90)
CIE-LCHlch(65.82, 74.08, 320.73°)
OKLaboklab(72.93% 0.1495 -0.1301)
OKLCHoklch(72.93% 0.198 319)
XYZxyz(52.4092, 35.0876, 90.3804)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78F5 #92F578
analogous
#9D78F5 #DB78F5 #F578D1
triadic
#DB78F5 #F5DB78 #78F5DB
tetradic
#DB78F5 #F59D78 #92F578 #78D1F5
square
#DB78F5 #F59D78 #92F578 #78D1F5
split-complementary
#DB78F5 #D1F578 #78F59D
monochromatic
#B611E2 #CC3FF1 #DB78F5 #EAB1F9 #F7E3FD

Accessibility & contrast

On white

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

On black

8.02
#DB78F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78F5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78F5#FFFFFF#000000##000000
##DB78F51.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#7FA3F2
Tritanopia (blue-blind)
#DB8AAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db78f5;
/* rgb */ color: rgb(219, 120, 245);
/* oklch */ color: oklch(72.9% 0.198 319.0);
Tailwind
colors: {
  custom: {
    50: '#e8a2f9',
    500: '#db78f5',
    950: '#000000',
  },
}
SCSS
$custom: #db78f5;
$custom-light: #e8a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db78f5",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 287.52,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72925,
    "c": 0.19823,
    "h": 319
  },
  "luminance": 0.35086
}

Semantic roles & 50–950 ramp

primary
#DB78F5
secondary
#DBF4D4
accent
#E30331
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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