#DF78EC#DF78EC

#DF78EC is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.9% C 0.192 H 323.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DF78EC
RGBrgb(223, 120, 236)
HSLhsl(293, 75%, 70%)
HSVhsv(293, 49%, 93%)
CMYKcmyk(5.5%, 49.2%, 0%, 7.5%)
CIE-LABlab(65.89, 56.72, -41.79)
CIE-LCHlch(65.89, 70.45, 323.62°)
OKLaboklab(72.95% 0.153 -0.1153)
OKLCHoklch(72.95% 0.192 323)
XYZxyz(52.2867, 35.1794, 83.3768)
Luminance0.3518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78EC #85EC78
analogous
#A578EC #DF78EC #EC78BF
triadic
#DF78EC #ECDF78 #78ECDF
tetradic
#DF78EC #ECA578 #85EC78 #78BFEC
square
#DF78EC #ECA578 #85EC78 #78BFEC
split-complementary
#DF78EC #BFEC78 #78ECA5
monochromatic
#B91DCD #D242E4 #DF78EC #ECAEF4 #F8E3FB

Accessibility & contrast

On white

2.61
#DF78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#DF78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78EC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78EC#FFFFFF#000000##000000
##DF78EC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#87A4E9
Tritanopia (blue-blind)
#E287A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df78ec;
/* rgb */ color: rgb(223, 120, 236);
/* oklch */ color: oklch(72.9% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#eba2f2',
    500: '#df78ec',
    950: '#000000',
  },
}
SCSS
$custom: #df78ec;
$custom-light: #eba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df78ec",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 293.276,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72946,
    "c": 0.19156,
    "h": 323
  },
  "luminance": 0.35177
}

Semantic roles & 50–950 ramp

primary
#DF78EC
secondary
#D3F0D0
accent
#D70E25
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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