#DB78FC#DB78FC

#DB78FC is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.3% C 0.205 H 317.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#DB78FC
RGBrgb(219, 120, 252)
HSLhsl(285, 96%, 73%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(13.1%, 52.4%, 0%, 1.2%)
CIE-LABlab(66.15, 58.72, -50.21)
CIE-LCHlch(66.15, 77.26, 319.47°)
OKLaboklab(73.28% 0.1502 -0.1398)
OKLCHoklch(73.28% 0.205 317.1)
XYZxyz(53.4980, 35.5231, 96.1151)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB78FC #99FC78
analogous
#9978FC #DB78FC #FC78DB
triadic
#DB78FC #FCDB78 #78FCDB
tetradic
#DB78FC #FC9978 #99FC78 #78DBFC
square
#DB78FC #FC9978 #99FC78 #78DBFC
split-complementary
#DB78FC #DBFC78 #78FC99
monochromatic
#B805F4 #CB3CFB #DB78FC #EBB4FD #F7E1FE

Accessibility & contrast

On white

2.59
#DB78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#DB78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB78FC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB78FC#FFFFFF#000000##000000
##DB78FC1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db78fc;
/* rgb */ color: rgb(219, 120, 252);
/* oklch */ color: oklch(73.3% 0.205 317.1);
Tailwind
colors: {
  custom: {
    50: '#e9a2fe',
    500: '#db78fc',
    950: '#000000',
  },
}
SCSS
$custom: #db78fc;
$custom-light: #e9a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db78fc",
  "rgb": {
    "r": 219,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 285,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73284,
    "c": 0.20517,
    "h": 317.1
  },
  "luminance": 0.35521
}

Semantic roles & 50–950 ramp

primary
#DB78FC
secondary
#DDF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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