#DC78D2#DC78D2

#DC78D2 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.166 H 330.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#DC78D2
RGBrgb(220, 120, 210)
HSLhsl(306, 59%, 67%)
HSVhsv(306, 45%, 86%)
CMYKcmyk(0%, 45.5%, 4.5%, 13.7%)
CIE-LABlab(64.41, 51.22, -29.66)
CIE-LCHlch(64.41, 59.18, 329.93°)
OKLaboklab(71.4% 0.1451 -0.0807)
OKLCHoklch(71.4% 0.166 330.9)
XYZxyz(47.8641, 33.3044, 64.8676)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78D2 #78DC82
analogous
#B478DC #DC78D2 #DC78A0
triadic
#DC78D2 #D2DC78 #78D2DC
tetradic
#DC78D2 #DCB478 #78DC82 #78A0DC
square
#DC78D2 #DCB478 #78DC82 #78A0DC
split-complementary
#DC78D2 #A0DC78 #78DCB4
monochromatic
#AD2DA0 #CF47C2 #DC78D2 #E9A9E2 #F5D9F2

Accessibility & contrast

On white

2.74
#DC78D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#DC78D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78D2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78D2#FFFFFF#000000##000000
##DC78D21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D5
Deuteranopia (green-blind)
#90A1CF
Tritanopia (blue-blind)
#E37F9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc78d2;
/* rgb */ color: rgb(220, 120, 210);
/* oklch */ color: oklch(71.4% 0.166 330.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2e0',
    500: '#dc78d2',
    950: '#000000',
  },
}
SCSS
$custom: #dc78d2;
$custom-light: #e9a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78d2",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 306,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71404,
    "c": 0.16603,
    "h": 330.9
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#DC78D2
secondary
#C8E8CB
accent
#C6301F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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