#DF78E4#DF78E4

#DF78E4 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.184 H 325.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DF78E4
RGBrgb(223, 120, 228)
HSLhsl(297, 67%, 68%)
HSVhsv(297, 47%, 89%)
CMYKcmyk(2.2%, 47.4%, 0%, 10.6%)
CIE-LABlab(65.53, 55.26, -37.91)
CIE-LCHlch(65.53, 67.02, 325.55°)
OKLaboklab(72.57% 0.1518 -0.1042)
OKLCHoklch(72.57% 0.184 325.5)
XYZxyz(51.1504, 34.7249, 77.3920)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78E4 #7DE478
analogous
#A978E4 #DF78E4 #E478B3
triadic
#DF78E4 #E4DF78 #78E4DF
tetradic
#DF78E4 #E4A978 #7DE478 #78B3E4
square
#DF78E4 #E4A978 #7DE478 #78B3E4
split-complementary
#DF78E4 #B3E478 #78E4A9
monochromatic
#B526BC #D345DA #DF78E4 #EBABEE #F7DEF8

Accessibility & contrast

On white

2.64
#DF78E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#DF78E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78E4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78E4#FFFFFF#000000##000000
##DF78E41.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E8
Deuteranopia (green-blind)
#8AA4E1
Tritanopia (blue-blind)
#E484A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #df78e4;
/* rgb */ color: rgb(223, 120, 228);
/* oklch */ color: oklch(72.6% 0.184 325.5);
Tailwind
colors: {
  custom: {
    50: '#eba2ed',
    500: '#df78e4',
    950: '#000000',
  },
}
SCSS
$custom: #df78e4;
$custom-light: #eba2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#df78e4",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 297.222,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.18409,
    "h": 325.5
  },
  "luminance": 0.34722
}

Semantic roles & 50–950 ramp

primary
#DF78E4
secondary
#CDECCC
accent
#CF171F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DF78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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