#DC78CD#DC78CD

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

Color values

HEX#DC78CD
RGBrgb(220, 120, 205)
HSLhsl(309, 59%, 67%)
HSVhsv(309, 45%, 86%)
CMYKcmyk(0%, 45.5%, 6.8%, 13.7%)
CIE-LABlab(64.21, 50.36, -27.16)
CIE-LCHlch(64.21, 57.22, 331.67°)
OKLaboklab(71.19% 0.1441 -0.0736)
OKLCHoklch(71.19% 0.162 332.9)
XYZxyz(47.2509, 33.0592, 61.6380)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78CD #78DC87
analogous
#B978DC #DC78CD #DC789B
triadic
#DC78CD #CDDC78 #78CDDC
tetradic
#DC78CD #DCB978 #78DC87 #789BDC
square
#DC78CD #DCB978 #78DC87 #789BDC
split-complementary
#DC78CD #9BDC78 #78DCB9
monochromatic
#AD2D9A #CF47BB #DC78CD #E9A9DF #F5D9F1

Accessibility & contrast

On white

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

On black

7.61
#DC78CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78CD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78CD#FFFFFF#000000##000000
##DC78CD1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D0
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#E47E99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc78cd;
/* rgb */ color: rgb(220, 120, 205);
/* oklch */ color: oklch(71.2% 0.162 332.9);
Tailwind
colors: {
  custom: {
    50: '#e9a2dc',
    500: '#dc78cd',
    950: '#000000',
  },
}
SCSS
$custom: #dc78cd;
$custom-light: #e9a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78cd",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 309,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71191,
    "c": 0.16176,
    "h": 332.9
  },
  "luminance": 0.33056
}

Semantic roles & 50–950 ramp

primary
#DC78CD
secondary
#C8E8CD
accent
#C6381F
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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