#DF78FB#DF78FB

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

Color values

HEX#DF78FB
RGBrgb(223, 120, 251)
HSLhsl(287, 94%, 73%)
HSVhsv(287, 52%, 98%)
CMYKcmyk(11.2%, 52.2%, 0%, 1.6%)
CIE-LABlab(66.59, 59.56, -48.95)
CIE-LCHlch(66.59, 77.09, 320.59°)
OKLaboklab(73.69% 0.1547 -0.136)
OKLCHoklch(73.69% 0.206 318.7)
XYZxyz(54.5582, 36.0880, 95.3399)
Luminance0.3609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78FB #94FB78
analogous
#9E78FB #DF78FB #FB78D5
triadic
#DF78FB #FBDF78 #78FBDF
tetradic
#DF78FB #FB9E78 #94FB78 #78D5FB
square
#DF78FB #FB9E78 #94FB78 #78D5FB
split-complementary
#DF78FB #D5FB78 #78FB9E
monochromatic
#BF07F1 #D13DF9 #DF78FB #EDB3FD #F8E1FE

Accessibility & contrast

On white

2.56
#DF78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#DF78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78FB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78FB#FFFFFF#000000##000000
##DF78FB1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#DF8BAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df78fb;
/* rgb */ color: rgb(223, 120, 251);
/* oklch */ color: oklch(73.7% 0.206 318.7);
Tailwind
colors: {
  custom: {
    50: '#eba3fd',
    500: '#df78fb',
    950: '#000000',
  },
}
SCSS
$custom: #df78fb;
$custom-light: #eba3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df78fb",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 287.176,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7369,
    "c": 0.206,
    "h": 318.7
  },
  "luminance": 0.36086
}

Semantic roles & 50–950 ramp

primary
#DF78FB
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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