#DC78EE#DC78EE

#DC78EE is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.7% C 0.192 H 321.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#DC78EE
RGBrgb(220, 120, 238)
HSLhsl(291, 78%, 70%)
HSVhsv(291, 50%, 93%)
CMYKcmyk(7.6%, 49.6%, 0%, 6.7%)
CIE-LABlab(65.61, 56.28, -43.35)
CIE-LCHlch(65.61, 71.04, 322.39°)
OKLaboklab(72.69% 0.1498 -0.1199)
OKLCHoklch(72.69% 0.192 321.3)
XYZxyz(51.6625, 34.8238, 84.8727)
Luminance0.3482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78EE #8AEE78
analogous
#A178EE #DC78EE #EE78C5
triadic
#DC78EE #EEDC78 #78EEDC
tetradic
#DC78EE #EEA178 #8AEE78 #78C5EE
square
#DC78EE #EEA178 #8AEE78 #78C5EE
split-complementary
#DC78EE #C5EE78 #78EEA1
monochromatic
#B51AD1 #CE42E7 #DC78EE #EAAEF5 #F8E4FC

Accessibility & contrast

On white

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

On black

7.96
#DC78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78EE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78EE#FFFFFF#000000##000000
##DC78EE1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#DE88A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc78ee;
/* rgb */ color: rgb(220, 120, 238);
/* oklch */ color: oklch(72.7% 0.192 321.3);
Tailwind
colors: {
  custom: {
    50: '#e9a2f4',
    500: '#dc78ee',
    950: '#000000',
  },
}
SCSS
$custom: #dc78ee;
$custom-light: #e9a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78ee",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 290.847,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72693,
    "c": 0.19189,
    "h": 321.3
  },
  "luminance": 0.34822
}

Semantic roles & 50–950 ramp

primary
#DC78EE
secondary
#D6F1D1
accent
#DA0C2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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