#DC78FA#DC78FA

#DC78FA is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.3% C 0.204 H 317.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#DC78FA
RGBrgb(220, 120, 250)
HSLhsl(286, 93%, 73%)
HSVhsv(286, 52%, 98%)
CMYKcmyk(12%, 52%, 0%, 2%)
CIE-LABlab(66.18, 58.58, -49.07)
CIE-LCHlch(66.18, 76.42, 320.05°)
OKLaboklab(73.29% 0.1512 -0.1364)
OKLCHoklch(73.29% 0.204 317.9)
XYZxyz(53.4846, 35.5526, 94.4689)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78FA #96FA78
analogous
#9B78FA #DC78FA #FA78D7
triadic
#DC78FA #FADC78 #78FADC
tetradic
#DC78FA #FA9B78 #96FA78 #78D7FA
square
#DC78FA #FA9B78 #96FA78 #78D7FA
split-complementary
#DC78FA #D7FA78 #78FA9B
monochromatic
#BA09EF #CD3DF8 #DC78FA #EBB3FC #F7E1FE

Accessibility & contrast

On white

2.59
#DC78FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#DC78FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78FA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78FA#FFFFFF#000000##000000
##DC78FA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#7DA4F6
Tritanopia (blue-blind)
#DC8BAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc78fa;
/* rgb */ color: rgb(220, 120, 250);
/* oklch */ color: oklch(73.3% 0.204 317.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2fc',
    500: '#dc78fa',
    950: '#000000',
  },
}
SCSS
$custom: #dc78fa;
$custom-light: #e9a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78fa",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 286.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73294,
    "c": 0.20364,
    "h": 317.9
  },
  "luminance": 0.35551
}

Semantic roles & 50–950 ramp

primary
#DC78FA
secondary
#DDF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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