#DC78EF#DC78EF

#DC78EF is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.193 H 321.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#DC78EF
RGBrgb(220, 120, 239)
HSLhsl(290, 79%, 70%)
HSVhsv(290, 50%, 94%)
CMYKcmyk(7.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(65.66, 56.47, -43.83)
CIE-LCHlch(65.66, 71.49, 322.18°)
OKLaboklab(72.74% 0.15 -0.1213)
OKLCHoklch(72.74% 0.193 321)
XYZxyz(51.8099, 34.8827, 85.6486)
Luminance0.3488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78EF #8BEF78
analogous
#A078EF #DC78EF #EF78C7
triadic
#DC78EF #EFDC78 #78EFDC
tetradic
#DC78EF #EFA078 #8BEF78 #78C7EF
square
#DC78EF #EFA078 #8BEF78 #78C7EF
split-complementary
#DC78EF #C7EF78 #78EFA0
monochromatic
#B619D4 #CE41E9 #DC78EF #EAAFF5 #F8E4FC

Accessibility & contrast

On white

2.63
#DC78EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#DC78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78EF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78EF#FFFFFF#000000##000000
##DC78EF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#DE88A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc78ef;
/* rgb */ color: rgb(220, 120, 239);
/* oklch */ color: oklch(72.7% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#e9a2f4',
    500: '#dc78ef',
    950: '#000000',
  },
}
SCSS
$custom: #dc78ef;
$custom-light: #e9a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78ef",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 290.42,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.19285,
    "h": 321
  },
  "luminance": 0.34881
}

Semantic roles & 50–950 ramp

primary
#DC78EF
secondary
#D6F2D1
accent
#DB0A2C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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