#DC78D9#DC78D9

#DC78D9 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.172 H 328.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#DC78D9
RGBrgb(220, 120, 217)
HSLhsl(302, 59%, 67%)
HSVhsv(302, 45%, 86%)
CMYKcmyk(0%, 45.5%, 1.4%, 13.7%)
CIE-LABlab(64.69, 52.44, -33.13)
CIE-LCHlch(64.69, 62.03, 327.72°)
OKLaboklab(71.71% 0.1465 -0.0905)
OKLCHoklch(71.71% 0.172 328.3)
XYZxyz(48.7553, 33.6609, 69.5613)
Luminance0.3366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78D9 #78DC7B
analogous
#AD78DC #DC78D9 #DC78A7
triadic
#DC78D9 #D9DC78 #78D9DC
tetradic
#DC78D9 #DCAD78 #78DC7B #78A7DC
square
#DC78D9 #DCAD78 #78DC7B #78A7DC
split-complementary
#DC78D9 #A7DC78 #78DCAD
monochromatic
#AD2DA9 #CF47CB #DC78D9 #E9A9E7 #F5D9F4

Accessibility & contrast

On white

2.72
#DC78D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#DC78D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78D9
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78D9#FFFFFF#000000##000000
##DC78D91.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DC
Deuteranopia (green-blind)
#8DA2D6
Tritanopia (blue-blind)
#E2819E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc78d9;
/* rgb */ color: rgb(220, 120, 217);
/* oklch */ color: oklch(71.7% 0.172 328.3);
Tailwind
colors: {
  custom: {
    50: '#e9a2e5',
    500: '#dc78d9',
    950: '#000000',
  },
}
SCSS
$custom: #dc78d9;
$custom-light: #e9a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78d9",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 301.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.17223,
    "h": 328.3
  },
  "luminance": 0.33658
}

Semantic roles & 50–950 ramp

primary
#DC78D9
secondary
#C8E8C9
accent
#C6241F
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F15
muted
#847F84

Preview Lab

Preview with #DC78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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