#DE78F3#DE78F3

#DE78F3 is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.2% C 0.198 H 320.6°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DE78F3
RGBrgb(222, 120, 243)
HSLhsl(290, 84%, 71%)
HSVhsv(290, 51%, 95%)
CMYKcmyk(8.6%, 50.6%, 0%, 4.7%)
CIE-LABlab(66.09, 57.76, -45.35)
CIE-LCHlch(66.09, 73.44, 321.87°)
OKLaboklab(73.17% 0.1527 -0.1256)
OKLCHoklch(73.17% 0.198 320.6)
XYZxyz(53.0164, 35.4358, 88.8238)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78F3 #8DF378
analogous
#A078F3 #DE78F3 #F378CA
triadic
#DE78F3 #F3DE78 #78F3DE
tetradic
#DE78F3 #F3A078 #8DF378 #78CAF3
square
#DE78F3 #F3A078 #8DF378 #78CAF3
split-complementary
#DE78F3 #CAF378 #78F3A0
monochromatic
#BB14DD #D040EE #DE78F3 #ECB0F8 #F8E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DE78F3#FFFFFF#000000##000000
##DE78F31.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)
#6399F7
Deuteranopia (green-blind)
#83A4F0
Tritanopia (blue-blind)
#E089AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #de78f3;
/* rgb */ color: rgb(222, 120, 243);
/* oklch */ color: oklch(73.2% 0.198 320.6);
Tailwind
colors: {
  custom: {
    50: '#eba2f7',
    500: '#de78f3',
    950: '#000000',
  },
}
SCSS
$custom: #de78f3;
$custom-light: #eba2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de78f3",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 289.756,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73172,
    "c": 0.19774,
    "h": 320.6
  },
  "luminance": 0.35434
}

Semantic roles & 50–950 ramp

primary
#DE78F3
secondary
#D9F4D3
accent
#E0052B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE78F3

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

Preview Lab → · Contrast checker → · Palette generator →

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