#DE78F7#DE78F7

#DE78F7 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.4% C 0.202 H 319.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#DE78F7
RGBrgb(222, 120, 247)
HSLhsl(288, 89%, 72%)
HSVhsv(288, 51%, 97%)
CMYKcmyk(10.1%, 51.4%, 0%, 3.1%)
CIE-LABlab(66.27, 58.53, -47.25)
CIE-LCHlch(66.27, 75.22, 321.08°)
OKLaboklab(73.37% 0.1532 -0.1311)
OKLCHoklch(73.37% 0.202 319.4)
XYZxyz(53.6270, 35.6800, 92.0398)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78F7 #91F778
analogous
#9F78F7 #DE78F7 #F778D1
triadic
#DE78F7 #F7DE78 #78F7DE
tetradic
#DE78F7 #F79F78 #91F778 #78D1F7
square
#DE78F7 #F79F78 #91F778 #78D1F7
split-complementary
#DE78F7 #D1F778 #78F79F
monochromatic
#BC0EE7 #D03EF4 #DE78F7 #ECB2FA #F8E2FD

Accessibility & contrast

On white

2.58
#DE78F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#DE78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE78F7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE78F7#FFFFFF#000000##000000
##DE78F71.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#DF8AAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #de78f7;
/* rgb */ color: rgb(222, 120, 247);
/* oklch */ color: oklch(73.4% 0.202 319.4);
Tailwind
colors: {
  custom: {
    50: '#eba2fa',
    500: '#de78f7',
    950: '#000000',
  },
}
SCSS
$custom: #de78f7;
$custom-light: #eba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#de78f7",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 288.189,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73372,
    "c": 0.20162,
    "h": 319.4
  },
  "luminance": 0.35678
}

Semantic roles & 50–950 ramp

primary
#DE78F7
secondary
#DCF5D5
accent
#E5002D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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