#DC78DA#DC78DA

#DC78DA is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.173 H 327.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#DC78DA
RGBrgb(220, 120, 218)
HSLhsl(301, 59%, 67%)
HSVhsv(301, 45%, 86%)
CMYKcmyk(0%, 45.5%, 0.9%, 13.7%)
CIE-LABlab(64.73, 52.61, -33.62)
CIE-LCHlch(64.73, 62.44, 327.42°)
OKLaboklab(71.76% 0.1467 -0.0919)
OKLCHoklch(71.76% 0.173 327.9)
XYZxyz(48.8858, 33.7131, 70.2484)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78DA #78DC7A
analogous
#AC78DC #DC78DA #DC78A8
triadic
#DC78DA #DADC78 #78DADC
tetradic
#DC78DA #DCAC78 #78DC7A #78A8DC
square
#DC78DA #DCAC78 #78DC7A #78A8DC
split-complementary
#DC78DA #A8DC78 #78DCAC
monochromatic
#AD2DAA #CF47CD #DC78DA #E9A9E7 #F5D9F5

Accessibility & contrast

On white

2.71
#DC78DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#DC78DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78DA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78DA#FFFFFF#000000##000000
##DC78DA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DD
Deuteranopia (green-blind)
#8DA2D7
Tritanopia (blue-blind)
#E2829F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc78da;
/* rgb */ color: rgb(220, 120, 218);
/* oklch */ color: oklch(71.8% 0.173 327.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2e5',
    500: '#dc78da',
    950: '#000000',
  },
}
SCSS
$custom: #dc78da;
$custom-light: #e9a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78da",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 301.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71755,
    "c": 0.17312,
    "h": 327.9
  },
  "luminance": 0.33711
}

Semantic roles & 50–950 ramp

primary
#DC78DA
secondary
#C8E8C8
accent
#C6221F
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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