#DC78DF#DC78DF

#DC78DF is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.0% C 0.178 H 326.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#DC78DF
RGBrgb(220, 120, 223)
HSLhsl(298, 62%, 67%)
HSVhsv(298, 46%, 87%)
CMYKcmyk(1.3%, 46.2%, 0%, 12.5%)
CIE-LABlab(64.95, 53.51, -36.08)
CIE-LCHlch(64.95, 64.54, 326.01°)
OKLaboklab(71.98% 0.1476 -0.099)
OKLCHoklch(71.98% 0.178 326.2)
XYZxyz(49.5499, 33.9788, 73.7463)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78DF #7BDF78
analogous
#A878DF #DC78DF #DF78AF
triadic
#DC78DF #DFDC78 #78DFDC
tetradic
#DC78DF #DFA878 #7BDF78 #78AFDF
square
#DC78DF #DFA878 #7BDF78 #78AFDF
split-complementary
#DC78DF #AFDF78 #78DFA8
monochromatic
#AE2AB2 #CF47D3 #DC78DF #E9A9EB #F6DBF6

Accessibility & contrast

On white

2.69
#DC78DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#DC78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78DF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78DF#FFFFFF#000000##000000
##DC78DF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E3
Deuteranopia (green-blind)
#8BA2DC
Tritanopia (blue-blind)
#E183A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc78df;
/* rgb */ color: rgb(220, 120, 223);
/* oklch */ color: oklch(72.0% 0.178 326.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2e9',
    500: '#dc78df',
    950: '#000000',
  },
}
SCSS
$custom: #dc78df;
$custom-light: #e9a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78df",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 298.252,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71982,
    "c": 0.17769,
    "h": 326.2
  },
  "luminance": 0.33976
}

Semantic roles & 50–950 ramp

primary
#DC78DF
secondary
#CAEAC9
accent
#C91C21
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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