#DC78E4#DC78E4

#DC78E4 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.2% C 0.182 H 324.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#DC78E4
RGBrgb(220, 120, 228)
HSLhsl(296, 67%, 68%)
HSVhsv(296, 47%, 89%)
CMYKcmyk(3.5%, 47.4%, 0%, 10.6%)
CIE-LABlab(65.16, 54.42, -38.52)
CIE-LCHlch(65.16, 66.67, 324.71°)
OKLaboklab(72.21% 0.1484 -0.106)
OKLCHoklch(72.21% 0.182 324.5)
XYZxyz(50.2340, 34.2524, 77.3491)
Luminance0.3425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78E4 #80E478
analogous
#A678E4 #DC78E4 #E478B6
triadic
#DC78E4 #E4DC78 #78E4DC
tetradic
#DC78E4 #E4A678 #80E478 #78B6E4
square
#DC78E4 #E4A678 #80E478 #78B6E4
split-complementary
#DC78E4 #B6E478 #78E4A6
monochromatic
#B126BC #CF45DA #DC78E4 #E9ABEE #F6DEF8

Accessibility & contrast

On white

2.68
#DC78E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#DC78E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78E4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78E4#FFFFFF#000000##000000
##DC78E41.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E8
Deuteranopia (green-blind)
#88A2E1
Tritanopia (blue-blind)
#E085A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc78e4;
/* rgb */ color: rgb(220, 120, 228);
/* oklch */ color: oklch(72.2% 0.182 324.5);
Tailwind
colors: {
  custom: {
    50: '#e9a2ed',
    500: '#dc78e4',
    950: '#000000',
  },
}
SCSS
$custom: #dc78e4;
$custom-light: #e9a2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78e4",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 295.556,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.18235,
    "h": 324.5
  },
  "luminance": 0.3425
}

Semantic roles & 50–950 ramp

primary
#DC78E4
secondary
#CEECCC
accent
#CF1725
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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