#DB78F2#DB78F2

#DB78F2 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.8% C 0.195 H 319.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#DB78F2
RGBrgb(219, 120, 242)
HSLhsl(289, 82%, 71%)
HSVhsv(289, 50%, 95%)
CMYKcmyk(9.5%, 50.4%, 0%, 5.1%)
CIE-LABlab(65.68, 56.77, -45.47)
CIE-LCHlch(65.68, 72.73, 321.31°)
OKLaboklab(72.78% 0.1492 -0.126)
OKLCHoklch(72.78% 0.195 319.8)
XYZxyz(51.9549, 34.9059, 87.9879)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78F2 #8FF278
analogous
#9E78F2 #DB78F2 #F278CC
triadic
#DB78F2 #F2DB78 #78F2DB
tetradic
#DB78F2 #F29E78 #8FF278 #78CCF2
square
#DB78F2 #F29E78 #8FF278 #78CCF2
split-complementary
#DB78F2 #CCF278 #78F29E
monochromatic
#B515DB #CC40ED #DB78F2 #EAB0F7 #F8E3FC

Accessibility & contrast

On white

2.63
#DB78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#DB78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78F2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78F2#FFFFFF#000000##000000
##DB78F21.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#DC89AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db78f2;
/* rgb */ color: rgb(219, 120, 242);
/* oklch */ color: oklch(72.8% 0.195 319.8);
Tailwind
colors: {
  custom: {
    50: '#e8a2f7',
    500: '#db78f2',
    950: '#000000',
  },
}
SCSS
$custom: #db78f2;
$custom-light: #e8a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db78f2",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 288.689,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72775,
    "c": 0.19528,
    "h": 319.8
  },
  "luminance": 0.34904
}

Semantic roles & 50–950 ramp

primary
#DB78F2
secondary
#D9F3D3
accent
#DF072F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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