#DF78ED#DF78ED

#DF78ED is a light, vivid purple. Relative luminance 0.352; OKLCH L 73.0% C 0.193 H 322.7°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#DF78ED
RGBrgb(223, 120, 237)
HSLhsl(293, 76%, 70%)
HSVhsv(293, 49%, 93%)
CMYKcmyk(5.9%, 49.4%, 0%, 7.1%)
CIE-LABlab(65.93, 56.91, -42.27)
CIE-LCHlch(65.93, 70.89, 323.40°)
OKLaboklab(72.99% 0.1531 -0.1167)
OKLCHoklch(72.99% 0.193 322.7)
XYZxyz(52.4324, 35.2377, 84.1441)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78ED #86ED78
analogous
#A578ED #DF78ED #ED78C0
triadic
#DF78ED #EDDF78 #78EDDF
tetradic
#DF78ED #EDA578 #86ED78 #78C0ED
square
#DF78ED #EDA578 #86ED78 #78C0ED
split-complementary
#DF78ED #C0ED78 #78EDA5
monochromatic
#BA1CCF #D242E6 #DF78ED #ECAEF4 #F9E4FB

Accessibility & contrast

On white

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

On black

8.05
#DF78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78ED
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78ED#FFFFFF#000000##000000
##DF78ED1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#E287A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df78ed;
/* rgb */ color: rgb(223, 120, 237);
/* oklch */ color: oklch(73.0% 0.193 322.7);
Tailwind
colors: {
  custom: {
    50: '#eba2f3',
    500: '#df78ed',
    950: '#000000',
  },
}
SCSS
$custom: #df78ed;
$custom-light: #eba2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#df78ed",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 292.821,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.72994,
    "c": 0.19252,
    "h": 322.7
  },
  "luminance": 0.35235
}

Semantic roles & 50–950 ramp

primary
#DF78ED
secondary
#D4F1D0
accent
#D90D25
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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