#DF78FC#DF78FC

#DF78FC is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.7% C 0.207 H 318.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#DF78FC
RGBrgb(223, 120, 252)
HSLhsl(287, 96%, 73%)
HSVhsv(287, 52%, 99%)
CMYKcmyk(11.5%, 52.4%, 0%, 1.2%)
CIE-LABlab(66.64, 59.75, -49.42)
CIE-LCHlch(66.64, 77.54, 320.41°)
OKLaboklab(73.74% 0.1548 -0.1374)
OKLCHoklch(73.74% 0.207 318.4)
XYZxyz(54.7162, 36.1512, 96.1722)
Luminance0.3615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78FC #95FC78
analogous
#9D78FC #DF78FC #FC78D7
triadic
#DF78FC #FCDF78 #78FCDF
tetradic
#DF78FC #FC9D78 #95FC78 #78D7FC
square
#DF78FC #FC9D78 #95FC78 #78D7FC
split-complementary
#DF78FC #D7FC78 #78FC9D
monochromatic
#C005F4 #D13CFB #DF78FC #EDB4FD #F8E1FE

Accessibility & contrast

On white

2.55
#DF78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#DF78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78FC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78FC#FFFFFF#000000##000000
##DF78FC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#DF8CAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df78fc;
/* rgb */ color: rgb(223, 120, 252);
/* oklch */ color: oklch(73.7% 0.207 318.4);
Tailwind
colors: {
  custom: {
    50: '#eba3fe',
    500: '#df78fc',
    950: '#000000',
  },
}
SCSS
$custom: #df78fc;
$custom-light: #eba3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df78fc",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 286.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73741,
    "c": 0.20698,
    "h": 318.4
  },
  "luminance": 0.36149
}

Semantic roles & 50–950 ramp

primary
#DF78FC
secondary
#DCF7D4
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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