#DC78ED#DC78ED

#DC78ED is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.191 H 321.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DC78ED
RGBrgb(220, 120, 237)
HSLhsl(291, 76%, 70%)
HSVhsv(291, 49%, 93%)
CMYKcmyk(7.2%, 49.4%, 0%, 7.1%)
CIE-LABlab(65.57, 56.09, -42.87)
CIE-LCHlch(65.57, 70.60, 322.61°)
OKLaboklab(72.64% 0.1497 -0.1185)
OKLCHoklch(72.64% 0.191 321.6)
XYZxyz(51.5160, 34.7652, 84.1011)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78ED #89ED78
analogous
#A178ED #DC78ED #ED78C4
triadic
#DC78ED #EDDC78 #78EDDC
tetradic
#DC78ED #EDA178 #89ED78 #78C4ED
square
#DC78ED #EDA178 #89ED78 #78C4ED
split-complementary
#DC78ED #C4ED78 #78EDA1
monochromatic
#B51CCF #CE42E6 #DC78ED #EAAEF4 #F8E4FB

Accessibility & contrast

On white

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

On black

7.95
#DC78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78ED
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78ED#FFFFFF#000000##000000
##DC78ED1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#84A3EA
Tritanopia (blue-blind)
#DE87A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc78ed;
/* rgb */ color: rgb(220, 120, 237);
/* oklch */ color: oklch(72.6% 0.191 321.6);
Tailwind
colors: {
  custom: {
    50: '#e9a2f3',
    500: '#dc78ed',
    950: '#000000',
  },
}
SCSS
$custom: #dc78ed;
$custom-light: #e9a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78ed",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 291.282,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.72644,
    "c": 0.19093,
    "h": 321.6
  },
  "luminance": 0.34763
}

Semantic roles & 50–950 ramp

primary
#DC78ED
secondary
#D5F1D0
accent
#D90D2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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