#DF78FF#DF78FF

#DF78FF is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 73.9% C 0.210 H 317.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DF78FF
RGBrgb(223, 120, 255)
HSLhsl(286, 100%, 74%)
HSVhsv(286, 53%, 100%)
CMYKcmyk(12.5%, 52.9%, 0%, 0%)
CIE-LABlab(66.78, 60.33, -50.83)
CIE-LCHlch(66.78, 78.89, 319.89°)
OKLaboklab(73.9% 0.1551 -0.1415)
OKLCHoklch(73.9% 0.21 317.6)
XYZxyz(55.1954, 36.3429, 98.6958)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF78FF #98FF78
analogous
#9B78FF #DF78FF #FF78DB
triadic
#DF78FF #FFDF78 #78FFDF
tetradic
#DF78FF #FF9B78 #98FF78 #78DBFF
square
#DF78FF #FF9B78 #98FF78 #78DBFF
split-complementary
#DF78FF #DBFF78 #78FF9B
monochromatic
#C100FD #D03BFF #DF78FF #EEB5FF #F8E0FF

Accessibility & contrast

On white

2.54
#DF78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DF78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF78FF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF78FF#FFFFFF#000000##000000
##DF78FF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#DE8DB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df78ff;
/* rgb */ color: rgb(223, 120, 255);
/* oklch */ color: oklch(73.9% 0.210 317.6);
Tailwind
colors: {
  custom: {
    50: '#eca3ff',
    500: '#df78ff',
    950: '#000000',
  },
}
SCSS
$custom: #df78ff;
$custom-light: #eca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df78ff",
  "rgb": {
    "r": 223,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 285.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73896,
    "c": 0.20992,
    "h": 317.6
  },
  "luminance": 0.36341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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