#DC78E6#DC78E6

#DC78E6 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.184 H 323.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#DC78E6
RGBrgb(220, 120, 230)
HSLhsl(295, 69%, 69%)
HSVhsv(295, 48%, 90%)
CMYKcmyk(4.3%, 47.8%, 0%, 9.8%)
CIE-LABlab(65.25, 54.79, -39.49)
CIE-LCHlch(65.25, 67.54, 324.21°)
OKLaboklab(72.31% 0.1487 -0.1087)
OKLCHoklch(72.31% 0.184 323.8)
XYZxyz(50.5132, 34.3641, 78.8198)
Luminance0.3436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78E6 #82E678
analogous
#A578E6 #DC78E6 #E678B9
triadic
#DC78E6 #E6DC78 #78E6DC
tetradic
#DC78E6 #E6A578 #82E678 #78B9E6
square
#DC78E6 #E6A578 #82E678 #78B9E6
split-complementary
#DC78E6 #B9E678 #78E6A5
monochromatic
#B224C0 #CF44DC #DC78E6 #E9ACF0 #F7DFF9

Accessibility & contrast

On white

2.67
#DC78E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#DC78E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78E6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78E6#FFFFFF#000000##000000
##DC78E61.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EA
Deuteranopia (green-blind)
#87A3E3
Tritanopia (blue-blind)
#E085A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc78e6;
/* rgb */ color: rgb(220, 120, 230);
/* oklch */ color: oklch(72.3% 0.184 323.8);
Tailwind
colors: {
  custom: {
    50: '#e9a2ee',
    500: '#dc78e6',
    950: '#000000',
  },
}
SCSS
$custom: #dc78e6;
$custom-light: #e9a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78e6",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 294.545,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.18423,
    "h": 323.8
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

primary
#DC78E6
secondary
#CFEDCC
accent
#D11526
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC78E6

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

Preview Lab → · Contrast checker → · Palette generator →

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