#DE78FC#DE78FC

#DE78FC is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.6% C 0.207 H 318.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DE78FC
RGBrgb(222, 120, 252)
HSLhsl(286, 96%, 73%)
HSVhsv(286, 52%, 99%)
CMYKcmyk(11.9%, 52.4%, 0%, 1.2%)
CIE-LABlab(66.51, 59.49, -49.62)
CIE-LCHlch(66.51, 77.47, 320.17°)
OKLaboklab(73.63% 0.1537 -0.138)
OKLCHoklch(73.63% 0.207 318.1)
XYZxyz(54.4089, 35.9928, 96.1578)
Luminance0.3599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78FC #96FC78
analogous
#9C78FC #DE78FC #FC78D8
triadic
#DE78FC #FCDE78 #78FCDE
tetradic
#DE78FC #FC9C78 #96FC78 #78D8FC
square
#DE78FC #FC9C78 #96FC78 #78D8FC
split-complementary
#DE78FC #D8FC78 #78FC9C
monochromatic
#BE05F4 #CF3CFB #DE78FC #EDB4FD #F8E1FE

Accessibility & contrast

On white

2.56
#DE78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DE78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE78FC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE78FC#FFFFFF#000000##000000
##DE78FC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#DE8CAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de78fc;
/* rgb */ color: rgb(222, 120, 252);
/* oklch */ color: oklch(73.6% 0.207 318.1);
Tailwind
colors: {
  custom: {
    50: '#eba3fe',
    500: '#de78fc',
    950: '#000000',
  },
}
SCSS
$custom: #de78fc;
$custom-light: #eba3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de78fc",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 286.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.20652,
    "h": 318.1
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

primary
#DE78FC
secondary
#DCF7D4
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DE78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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