#DC78CE#DC78CE

#DC78CE is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.2% C 0.163 H 332.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#DC78CE
RGBrgb(220, 120, 206)
HSLhsl(308, 59%, 67%)
HSVhsv(308, 45%, 86%)
CMYKcmyk(0%, 45.5%, 6.4%, 13.7%)
CIE-LABlab(64.25, 50.53, -27.66)
CIE-LCHlch(64.25, 57.61, 331.31°)
OKLaboklab(71.23% 0.1443 -0.075)
OKLCHoklch(71.23% 0.163 332.5)
XYZxyz(47.3720, 33.1076, 62.2758)
Luminance0.3311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78CE #78DC86
analogous
#B878DC #DC78CE #DC789C
triadic
#DC78CE #CEDC78 #78CEDC
tetradic
#DC78CE #DCB878 #78DC86 #789CDC
square
#DC78CE #DCB878 #78DC86 #789CDC
split-complementary
#DC78CE #9CDC78 #78DCB8
monochromatic
#AD2D9B #CF47BC #DC78CE #E9A9E0 #F5D9F1

Accessibility & contrast

On white

2.76
#DC78CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#DC78CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78CE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78CE#FFFFFF#000000##000000
##DC78CE1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D1
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#E47E99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc78ce;
/* rgb */ color: rgb(220, 120, 206);
/* oklch */ color: oklch(71.2% 0.163 332.5);
Tailwind
colors: {
  custom: {
    50: '#e9a2dd',
    500: '#dc78ce',
    950: '#000000',
  },
}
SCSS
$custom: #dc78ce;
$custom-light: #e9a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78ce",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 308.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.1626,
    "h": 332.5
  },
  "luminance": 0.33105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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