#DC78EC#DC78EC

#DC78EC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.190 H 321.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DC78EC
RGBrgb(220, 120, 236)
HSLhsl(292, 75%, 70%)
HSVhsv(292, 49%, 93%)
CMYKcmyk(6.8%, 49.2%, 0%, 7.5%)
CIE-LABlab(65.52, 55.90, -42.39)
CIE-LCHlch(65.52, 70.16, 322.83°)
OKLaboklab(72.6% 0.1496 -0.1171)
OKLCHoklch(72.6% 0.19 321.9)
XYZxyz(51.3703, 34.7069, 83.3338)
Luminance0.3471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78EC #88EC78
analogous
#A278EC #DC78EC #EC78C2
triadic
#DC78EC #ECDC78 #78ECDC
tetradic
#DC78EC #ECA278 #88EC78 #78C2EC
square
#DC78EC #ECA278 #88EC78 #78C2EC
split-complementary
#DC78EC #C2EC78 #78ECA2
monochromatic
#B51DCD #CE42E4 #DC78EC #EAAEF4 #F8E3FB

Accessibility & contrast

On white

2.64
#DC78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#DC78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78EC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78EC#FFFFFF#000000##000000
##DC78EC1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#DF87A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc78ec;
/* rgb */ color: rgb(220, 120, 236);
/* oklch */ color: oklch(72.6% 0.190 321.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2f2',
    500: '#dc78ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc78ec;
$custom-light: #e9a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78ec",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 291.724,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72595,
    "c": 0.18996,
    "h": 321.9
  },
  "luminance": 0.34705
}

Semantic roles & 50–950 ramp

primary
#DC78EC
secondary
#D4F0D0
accent
#D70E2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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