#DE78F4#DE78F4

#DE78F4 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.2% C 0.199 H 320.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#DE78F4
RGBrgb(222, 120, 244)
HSLhsl(289, 85%, 71%)
HSVhsv(289, 51%, 96%)
CMYKcmyk(9%, 50.8%, 0%, 4.3%)
CIE-LABlab(66.13, 57.95, -45.82)
CIE-LCHlch(66.13, 73.88, 321.67°)
OKLaboklab(73.22% 0.1529 -0.127)
OKLCHoklch(73.22% 0.199 320.3)
XYZxyz(53.1678, 35.4964, 89.6213)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78F4 #8EF478
analogous
#A078F4 #DE78F4 #F478CC
triadic
#DE78F4 #F4DE78 #78F4DE
tetradic
#DE78F4 #F4A078 #8EF478 #78CCF4
square
#DE78F4 #F4A078 #8EF478 #78CCF4
split-complementary
#DE78F4 #CCF478 #78F4A0
monochromatic
#BB12DF #D03FEF #DE78F4 #ECB1F9 #F8E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DE78F4#FFFFFF#000000##000000
##DE78F41.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)
#639AF8
Deuteranopia (green-blind)
#82A5F1
Tritanopia (blue-blind)
#DF89AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #de78f4;
/* rgb */ color: rgb(222, 120, 244);
/* oklch */ color: oklch(73.2% 0.199 320.3);
Tailwind
colors: {
  custom: {
    50: '#eba2f8',
    500: '#de78f4',
    950: '#000000',
  },
}
SCSS
$custom: #de78f4;
$custom-light: #eba2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#de78f4",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 289.355,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73221,
    "c": 0.19871,
    "h": 320.3
  },
  "luminance": 0.35494
}

Semantic roles & 50–950 ramp

primary
#DE78F4
secondary
#DAF4D4
accent
#E1042B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE78F4

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

Preview Lab → · Contrast checker → · Palette generator →

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