#DC78F6#DC78F6

#DC78F6 is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.1% C 0.200 H 319.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#DC78F6
RGBrgb(220, 120, 246)
HSLhsl(288, 88%, 72%)
HSVhsv(288, 51%, 96%)
CMYKcmyk(10.6%, 51.2%, 0%, 3.5%)
CIE-LABlab(65.98, 57.81, -47.17)
CIE-LCHlch(65.98, 74.61, 320.78°)
OKLaboklab(73.09% 0.1508 -0.1309)
OKLCHoklch(73.09% 0.2 319)
XYZxyz(52.8641, 35.3044, 91.2007)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78F6 #92F678
analogous
#9D78F6 #DC78F6 #F678D1
triadic
#DC78F6 #F6DC78 #78F6DC
tetradic
#DC78F6 #F69D78 #92F678 #78D1F6
square
#DC78F6 #F69D78 #92F678 #78D1F6
split-complementary
#DC78F6 #D1F678 #78F69D
monochromatic
#B80FE4 #CD3FF2 #DC78F6 #EBB1FA #F8E2FD

Accessibility & contrast

On white

2.61
#DC78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#DC78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78F6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78F6#FFFFFF#000000##000000
##DC78F61.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFA
Deuteranopia (green-blind)
#80A4F3
Tritanopia (blue-blind)
#DD8AAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc78f6;
/* rgb */ color: rgb(220, 120, 246);
/* oklch */ color: oklch(73.1% 0.200 319.0);
Tailwind
colors: {
  custom: {
    50: '#e9a2f9',
    500: '#dc78f6',
    950: '#000000',
  },
}
SCSS
$custom: #dc78f6;
$custom-light: #e9a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78f6",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 287.619,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.19969,
    "h": 319
  },
  "luminance": 0.35302
}

Semantic roles & 50–950 ramp

primary
#DC78F6
secondary
#DCF5D5
accent
#E40130
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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