#DC78F8#DC78F8

#DC78F8 is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.2% C 0.202 H 318.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DC78F8
RGBrgb(220, 120, 248)
HSLhsl(287, 90%, 72%)
HSVhsv(287, 52%, 97%)
CMYKcmyk(11.3%, 51.6%, 0%, 2.7%)
CIE-LABlab(66.08, 58.20, -48.12)
CIE-LCHlch(66.08, 75.52, 320.41°)
OKLaboklab(73.19% 0.151 -0.1337)
OKLCHoklch(73.19% 0.202 318.5)
XYZxyz(53.1727, 35.4279, 92.8261)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78F8 #94F878
analogous
#9C78F8 #DC78F8 #F878D4
triadic
#DC78F8 #F8DC78 #78F8DC
tetradic
#DC78F8 #F89C78 #94F878 #78D4F8
square
#DC78F8 #F89C78 #94F878 #78D4F8
split-complementary
#DC78F8 #D4F878 #78F89C
monochromatic
#B90CE9 #CD3EF5 #DC78F8 #EBB2FB #F7E2FD

Accessibility & contrast

On white

2.60
#DC78F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#DC78F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78F8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78F8#FFFFFF#000000##000000
##DC78F81.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#DC8BAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc78f8;
/* rgb */ color: rgb(220, 120, 248);
/* oklch */ color: oklch(73.2% 0.202 318.5);
Tailwind
colors: {
  custom: {
    50: '#e9a2fb',
    500: '#dc78f8',
    950: '#000000',
  },
}
SCSS
$custom: #dc78f8;
$custom-light: #e9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78f8",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 286.875,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73192,
    "c": 0.20166,
    "h": 318.5
  },
  "luminance": 0.35426
}

Semantic roles & 50–950 ramp

primary
#DC78F8
secondary
#DCF6D5
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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