#DF78E7#DF78E7

#DF78E7 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.187 H 324.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#DF78E7
RGBrgb(223, 120, 231)
HSLhsl(296, 70%, 69%)
HSVhsv(296, 48%, 91%)
CMYKcmyk(3.5%, 48.1%, 0%, 9.4%)
CIE-LABlab(65.67, 55.80, -39.37)
CIE-LCHlch(65.67, 68.29, 324.80°)
OKLaboklab(72.71% 0.1523 -0.1083)
OKLCHoklch(72.71% 0.187 324.6)
XYZxyz(51.5704, 34.8929, 79.6044)
Luminance0.3489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78E7 #80E778
analogous
#A878E7 #DF78E7 #E778B8
triadic
#DF78E7 #E7DF78 #78E7DF
tetradic
#DF78E7 #E7A878 #80E778 #78B8E7
square
#DF78E7 #E7A878 #80E778 #78B8E7
split-complementary
#DF78E7 #B8E778 #78E7A8
monochromatic
#B723C2 #D344DE #DF78E7 #EBACF0 #F8E0F9

Accessibility & contrast

On white

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

On black

7.98
#DF78E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78E7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78E7#FFFFFF#000000##000000
##DF78E71.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EB
Deuteranopia (green-blind)
#89A4E4
Tritanopia (blue-blind)
#E385A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df78e7;
/* rgb */ color: rgb(223, 120, 231);
/* oklch */ color: oklch(72.7% 0.187 324.6);
Tailwind
colors: {
  custom: {
    50: '#eba2ef',
    500: '#df78e7',
    950: '#000000',
  },
}
SCSS
$custom: #df78e7;
$custom-light: #eba2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#df78e7",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 295.676,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.18687,
    "h": 324.6
  },
  "luminance": 0.3489
}

Semantic roles & 50–950 ramp

primary
#DF78E7
secondary
#CFEECD
accent
#D21421
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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