#DB78FB#DB78FB

#DB78FB is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.2% C 0.204 H 317.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DB78FB
RGBrgb(219, 120, 251)
HSLhsl(285, 94%, 73%)
HSVhsv(285, 52%, 98%)
CMYKcmyk(12.7%, 52.2%, 0%, 1.6%)
CIE-LABlab(66.11, 58.52, -49.74)
CIE-LCHlch(66.11, 76.80, 319.64°)
OKLaboklab(73.23% 0.1501 -0.1384)
OKLCHoklch(73.23% 0.204 317.3)
XYZxyz(53.3400, 35.4599, 95.2828)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78FB #98FB78
analogous
#9A78FB #DB78FB #FB78D9
triadic
#DB78FB #FBDB78 #78FBDB
tetradic
#DB78FB #FB9A78 #98FB78 #78D9FB
square
#DB78FB #FB9A78 #98FB78 #78D9FB
split-complementary
#DB78FB #D9FB78 #78FB9A
monochromatic
#B807F1 #CB3DF9 #DB78FB #EBB3FD #F7E1FE

Accessibility & contrast

On white

2.60
#DB78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#DB78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78FB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78FB#FFFFFF#000000##000000
##DB78FB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#DA8CAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db78fb;
/* rgb */ color: rgb(219, 120, 251);
/* oklch */ color: oklch(73.2% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#e9a2fd',
    500: '#db78fb',
    950: '#000000',
  },
}
SCSS
$custom: #db78fb;
$custom-light: #e9a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db78fb",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 285.344,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73232,
    "c": 0.20418,
    "h": 317.3
  },
  "luminance": 0.35458
}

Semantic roles & 50–950 ramp

primary
#DB78FB
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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