#DF78F7#DF78F7

#DF78F7 is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.5% C 0.202 H 319.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DF78F7
RGBrgb(223, 120, 247)
HSLhsl(289, 89%, 72%)
HSVhsv(289, 51%, 97%)
CMYKcmyk(9.7%, 51.4%, 0%, 3.1%)
CIE-LABlab(66.40, 58.79, -47.05)
CIE-LCHlch(66.40, 75.30, 321.33°)
OKLaboklab(73.49% 0.1543 -0.1305)
OKLCHoklch(73.49% 0.202 319.8)
XYZxyz(53.9343, 35.8385, 92.0542)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78F7 #90F778
analogous
#9F78F7 #DF78F7 #F778D0
triadic
#DF78F7 #F7DF78 #78F7DF
tetradic
#DF78F7 #F79F78 #90F778 #78D0F7
square
#DF78F7 #F79F78 #90F778 #78D0F7
split-complementary
#DF78F7 #D0F778 #78F79F
monochromatic
#BE0EE7 #D13EF4 #DF78F7 #EDB2FA #F8E2FD

Accessibility & contrast

On white

2.57
#DF78F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DF78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78F7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78F7#FFFFFF#000000##000000
##DF78F71.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#E08AAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df78f7;
/* rgb */ color: rgb(223, 120, 247);
/* oklch */ color: oklch(73.5% 0.202 319.8);
Tailwind
colors: {
  custom: {
    50: '#eba3fa',
    500: '#df78f7',
    950: '#000000',
  },
}
SCSS
$custom: #df78f7;
$custom-light: #eba3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#df78f7",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 288.661,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73487,
    "c": 0.20211,
    "h": 319.8
  },
  "luminance": 0.35836
}

Semantic roles & 50–950 ramp

primary
#DF78F7
secondary
#DCF5D5
accent
#E5002B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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