#DC78FC#DC78FC

#DC78FC is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.4% C 0.206 H 317.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#DC78FC
RGBrgb(220, 120, 252)
HSLhsl(285, 96%, 73%)
HSVhsv(285, 52%, 99%)
CMYKcmyk(12.7%, 52.4%, 0%, 1.2%)
CIE-LABlab(66.27, 58.98, -50.01)
CIE-LCHlch(66.27, 77.33, 319.70°)
OKLaboklab(73.4% 0.1514 -0.1392)
OKLCHoklch(73.4% 0.206 317.4)
XYZxyz(53.7999, 35.6787, 96.1293)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78FC #98FC78
analogous
#9A78FC #DC78FC #FC78DA
triadic
#DC78FC #FCDC78 #78FCDC
tetradic
#DC78FC #FC9A78 #98FC78 #78DAFC
square
#DC78FC #FC9A78 #98FC78 #78DAFC
split-complementary
#DC78FC #DAFC78 #78FC9A
monochromatic
#BA05F4 #CC3CFB #DC78FC #ECB4FD #F7E1FE

Accessibility & contrast

On white

2.58
#DC78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#DC78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78FC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78FC#FFFFFF#000000##000000
##DC78FC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#DB8CAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc78fc;
/* rgb */ color: rgb(220, 120, 252);
/* oklch */ color: oklch(73.4% 0.206 317.4);
Tailwind
colors: {
  custom: {
    50: '#e9a2fe',
    500: '#dc78fc',
    950: '#000000',
  },
}
SCSS
$custom: #dc78fc;
$custom-light: #e9a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78fc",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 285.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73397,
    "c": 0.20562,
    "h": 317.4
  },
  "luminance": 0.35677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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