#DE78EB#DE78EB

#DE78EB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.8% C 0.190 H 323.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#DE78EB
RGBrgb(222, 120, 235)
HSLhsl(293, 74%, 70%)
HSVhsv(293, 49%, 92%)
CMYKcmyk(5.5%, 48.9%, 0%, 7.8%)
CIE-LABlab(65.72, 56.26, -41.51)
CIE-LCHlch(65.72, 69.92, 323.58°)
OKLaboklab(72.78% 0.1517 -0.1145)
OKLCHoklch(72.78% 0.19 323)
XYZxyz(51.8345, 34.9630, 82.5993)
Luminance0.3496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE78EB #85EB78
analogous
#A478EB #DE78EB #EB78BF
triadic
#DE78EB #EBDE78 #78EBDE
tetradic
#DE78EB #EBA478 #85EB78 #78BFEB
square
#DE78EB #EBA478 #85EB78 #78BFEB
split-complementary
#DE78EB #BFEB78 #78EBA4
monochromatic
#B71ECB #D143E3 #DE78EB #EBADF3 #F8E3FB

Accessibility & contrast

On white

2.63
#DE78EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#DE78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE78EB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE78EB#FFFFFF#000000##000000
##DE78EB1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#E186A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #de78eb;
/* rgb */ color: rgb(222, 120, 235);
/* oklch */ color: oklch(72.8% 0.190 323.0);
Tailwind
colors: {
  custom: {
    50: '#eaa2f2',
    500: '#de78eb',
    950: '#000000',
  },
}
SCSS
$custom: #de78eb;
$custom-light: #eaa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#de78eb",
  "rgb": {
    "r": 222,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 293.217,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72781,
    "c": 0.19007,
    "h": 323
  },
  "luminance": 0.34961
}

Semantic roles & 50–950 ramp

primary
#DE78EB
secondary
#D3F0CF
accent
#D60F26
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DE78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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