#DC78FE#DC78FE

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

Color values

HEX#DC78FE
RGBrgb(220, 120, 254)
HSLhsl(285, 99%, 73%)
HSVhsv(285, 53%, 100%)
CMYKcmyk(13.4%, 52.8%, 0%, 0.4%)
CIE-LABlab(66.37, 59.37, -50.95)
CIE-LCHlch(66.37, 78.24, 319.36°)
OKLaboklab(73.5% 0.1516 -0.1419)
OKLCHoklch(73.5% 0.208 316.9)
XYZxyz(54.1185, 35.8062, 97.8072)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78FE #9AFE78
analogous
#9978FE #DC78FE #FE78DD
triadic
#DC78FE #FEDC78 #78FEDC
tetradic
#DC78FE #FE9978 #9AFE78 #78DDFE
square
#DC78FE #FE9978 #9AFE78 #78DDFE
split-complementary
#DC78FE #DDFE78 #78FE99
monochromatic
#BB02FA #CC3BFE #DC78FE #ECB5FE #F7E1FF

Accessibility & contrast

On white

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

On black

8.16
#DC78FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78FE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78FE#FFFFFF#000000##000000
##DC78FE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#7BA5FA
Tritanopia (blue-blind)
#DB8DB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc78fe;
/* rgb */ color: rgb(220, 120, 254);
/* oklch */ color: oklch(73.5% 0.208 316.9);
Tailwind
colors: {
  custom: {
    50: '#e9a3ff',
    500: '#dc78fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc78fe;
$custom-light: #e9a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78fe",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 284.776,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73501,
    "c": 0.20761,
    "h": 316.9
  },
  "luminance": 0.35804
}

Semantic roles & 50–950 ramp

primary
#DC78FE
secondary
#DDF7D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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