#DC78DC#DC78DC

#DC78DC is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.175 H 327.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#DC78DC
RGBrgb(220, 120, 220)
HSLhsl(300, 59%, 67%)
HSVhsv(300, 45%, 86%)
CMYKcmyk(0%, 45.5%, 0%, 13.7%)
CIE-LABlab(64.82, 52.97, -34.61)
CIE-LCHlch(64.82, 63.27, 326.84°)
OKLaboklab(71.85% 0.1471 -0.0947)
OKLCHoklch(71.85% 0.175 327.2)
XYZxyz(49.1491, 33.8184, 71.6350)
Luminance0.3382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78DC #78DC78
analogous
#AA78DC #DC78DC #DC78AA
triadic
#DC78DC #DCDC78 #78DCDC
tetradic
#DC78DC #DCAA78 #78DC78 #78AADC
square
#DC78DC #DCAA78 #78DC78 #78AADC
split-complementary
#DC78DC #AADC78 #78DCAA
monochromatic
#AD2DAD #CF47CF #DC78DC #E9A9E9 #F5D9F5

Accessibility & contrast

On white

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

On black

7.76
#DC78DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78DC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78DC#FFFFFF#000000##000000
##DC78DC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#E182A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc78dc;
/* rgb */ color: rgb(220, 120, 220);
/* oklch */ color: oklch(71.8% 0.175 327.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2e7',
    500: '#dc78dc',
    950: '#000000',
  },
}
SCSS
$custom: #dc78dc;
$custom-light: #e9a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78dc",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71845,
    "c": 0.17494,
    "h": 327.2
  },
  "luminance": 0.33816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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