#DE78F1#DE78F1

#DE78F1 is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.1% C 0.196 H 321.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#DE78F1
RGBrgb(222, 120, 241)
HSLhsl(291, 81%, 71%)
HSVhsv(291, 50%, 95%)
CMYKcmyk(7.9%, 50.2%, 0%, 5.5%)
CIE-LABlab(65.99, 57.39, -44.39)
CIE-LCHlch(65.99, 72.55, 322.28°)
OKLaboklab(73.07% 0.1525 -0.1228)
OKLCHoklch(73.07% 0.196 321.2)
XYZxyz(52.7160, 35.3156, 87.2418)
Luminance0.3531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78F1 #8BF178
analogous
#A178F1 #DE78F1 #F178C7
triadic
#DE78F1 #F1DE78 #78F1DE
tetradic
#DE78F1 #F1A178 #8BF178 #78C7F1
square
#DE78F1 #F1A178 #8BF178 #78C7F1
split-complementary
#DE78F1 #C7F178 #78F1A1
monochromatic
#BA16D8 #D041EB #DE78F1 #ECAFF7 #F8E3FC

Accessibility & contrast

On white

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

On black

8.06
#DE78F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE78F1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE78F1#FFFFFF#000000##000000
##DE78F11.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F5
Deuteranopia (green-blind)
#84A4EE
Tritanopia (blue-blind)
#E088AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #de78f1;
/* rgb */ color: rgb(222, 120, 241);
/* oklch */ color: oklch(73.1% 0.196 321.2);
Tailwind
colors: {
  custom: {
    50: '#eba2f6',
    500: '#de78f1',
    950: '#000000',
  },
}
SCSS
$custom: #de78f1;
$custom-light: #eba2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#de78f1",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 290.579,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73073,
    "c": 0.19581,
    "h": 321.2
  },
  "luminance": 0.35313
}

Semantic roles & 50–950 ramp

primary
#DE78F1
secondary
#D7F3D2
accent
#DE0829
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE78F1

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

Preview Lab → · Contrast checker → · Palette generator →

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