#DC78CF#DC78CF

#DC78CF is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.3% C 0.163 H 332.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#DC78CF
RGBrgb(220, 120, 207)
HSLhsl(308, 59%, 67%)
HSVhsv(308, 45%, 86%)
CMYKcmyk(0%, 45.5%, 5.9%, 13.7%)
CIE-LABlab(64.29, 50.70, -28.16)
CIE-LCHlch(64.29, 58.00, 330.95°)
OKLaboklab(71.28% 0.1445 -0.0764)
OKLCHoklch(71.28% 0.163 332.1)
XYZxyz(47.4938, 33.1563, 62.9176)
Luminance0.3315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78CF #78DC85
analogous
#B778DC #DC78CF #DC789D
triadic
#DC78CF #CFDC78 #78CFDC
tetradic
#DC78CF #DCB778 #78DC85 #789DDC
square
#DC78CF #DCB778 #78DC85 #789DDC
split-complementary
#DC78CF #9DDC78 #78DCB7
monochromatic
#AD2D9C #CF47BE #DC78CF #E9A9E0 #F5D9F2

Accessibility & contrast

On white

2.75
#DC78CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#DC78CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78CF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78CF#FFFFFF#000000##000000
##DC78CF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#91A1CC
Tritanopia (blue-blind)
#E47F9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc78cf;
/* rgb */ color: rgb(220, 120, 207);
/* oklch */ color: oklch(71.3% 0.163 332.1);
Tailwind
colors: {
  custom: {
    50: '#e9a2de',
    500: '#dc78cf',
    950: '#000000',
  },
}
SCSS
$custom: #dc78cf;
$custom-light: #e9a2de;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78cf",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 307.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71276,
    "c": 0.16346,
    "h": 332.1
  },
  "luminance": 0.33154
}

Semantic roles & 50–950 ramp

primary
#DC78CF
secondary
#C8E8CC
accent
#C6351F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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