#DF78E8#DF78E8

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

Color values

HEX#DF78E8
RGBrgb(223, 120, 232)
HSLhsl(295, 71%, 69%)
HSVhsv(295, 48%, 91%)
CMYKcmyk(3.9%, 48.3%, 0%, 9%)
CIE-LABlab(65.71, 55.99, -39.86)
CIE-LCHlch(65.71, 68.72, 324.55°)
OKLaboklab(72.76% 0.1524 -0.1097)
OKLCHoklch(72.76% 0.188 324.2)
XYZxyz(51.7121, 34.9496, 80.3503)
Luminance0.3495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78E8 #81E878
analogous
#A778E8 #DF78E8 #E878B9
triadic
#DF78E8 #E8DF78 #78E8DF
tetradic
#DF78E8 #E8A778 #81E878 #78B9E8
square
#DF78E8 #E8A778 #81E878 #78B9E8
split-complementary
#DF78E8 #B9E878 #78E8A7
monochromatic
#B721C4 #D344DF #DF78E8 #EBACF1 #F8E1FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF78E8#FFFFFF#000000##000000
##DF78E81.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)
#6A98EC
Deuteranopia (green-blind)
#89A4E5
Tritanopia (blue-blind)
#E385A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #df78e8;
/* rgb */ color: rgb(223, 120, 232);
/* oklch */ color: oklch(72.8% 0.188 324.2);
Tailwind
colors: {
  custom: {
    50: '#eba2ef',
    500: '#df78e8',
    950: '#000000',
  },
}
SCSS
$custom: #df78e8;
$custom-light: #eba2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#df78e8",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 295.179,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.18781,
    "h": 324.2
  },
  "luminance": 0.34947
}

Semantic roles & 50–950 ramp

primary
#DF78E8
secondary
#D0EECD
accent
#D31322
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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