#DE78F6#DE78F6

#DE78F6 is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.3% C 0.201 H 319.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DE78F6
RGBrgb(222, 120, 246)
HSLhsl(289, 88%, 72%)
HSVhsv(289, 51%, 96%)
CMYKcmyk(9.8%, 51.2%, 0%, 3.5%)
CIE-LABlab(66.23, 58.34, -46.78)
CIE-LCHlch(66.23, 74.77, 321.28°)
OKLaboklab(73.32% 0.1531 -0.1297)
OKLCHoklch(73.32% 0.201 319.7)
XYZxyz(53.4731, 35.6185, 91.2292)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78F6 #90F678
analogous
#9F78F6 #DE78F6 #F678CF
triadic
#DE78F6 #F6DE78 #78F6DE
tetradic
#DE78F6 #F69F78 #90F678 #78CFF6
square
#DE78F6 #F69F78 #90F678 #78CFF6
split-complementary
#DE78F6 #CFF678 #78F69F
monochromatic
#BC0FE4 #D03FF2 #DE78F6 #ECB1FA #F8E2FD

Accessibility & contrast

On white

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

On black

8.12
#DE78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE78F6
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE78F6#FFFFFF#000000##000000
##DE78F61.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#81A5F3
Tritanopia (blue-blind)
#DF8AAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #de78f6;
/* rgb */ color: rgb(222, 120, 246);
/* oklch */ color: oklch(73.3% 0.201 319.7);
Tailwind
colors: {
  custom: {
    50: '#eba2f9',
    500: '#de78f6',
    950: '#000000',
  },
}
SCSS
$custom: #de78f6;
$custom-light: #eba2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#de78f6",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 288.571,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73321,
    "c": 0.20064,
    "h": 319.7
  },
  "luminance": 0.35616
}

Semantic roles & 50–950 ramp

primary
#DE78F6
secondary
#DBF5D5
accent
#E4012D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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