#D780CC#D780CC

#D780CC is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.8% C 0.144 H 331.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D780CC
RGBrgb(215, 128, 204)
HSLhsl(308, 52%, 67%)
HSVhsv(308, 40%, 84%)
CMYKcmyk(0%, 40.5%, 5.1%, 15.7%)
CIE-LABlab(65.16, 44.56, -25.19)
CIE-LCHlch(65.16, 51.19, 330.52°)
OKLaboklab(71.76% 0.1265 -0.0682)
OKLCHoklch(71.76% 0.144 331.7)
XYZxyz(46.6421, 34.2475, 61.2687)
Luminance0.3424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D780CC #80D78B
analogous
#B680D7 #D780CC #D780A1
triadic
#D780CC #CCD780 #80CCD7
tetradic
#D780CC #D7B680 #80D78B #80A1D7
square
#D780CC #D7B680 #80D78B #80A1D7
split-complementary
#D780CC #A1D780 #80D7B6
monochromatic
#A83599 #C851B9 #D780CC #E6AFDF #F4DDF1

Accessibility & contrast

On white

2.68
#D780CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D780CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D780CC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D780CC#FFFFFF#000000##000000
##D780CC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97CF
Deuteranopia (green-blind)
#94A3C9
Tritanopia (blue-blind)
#DE869D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d780cc;
/* rgb */ color: rgb(215, 128, 204);
/* oklch */ color: oklch(71.8% 0.144 331.7);
Tailwind
colors: {
  custom: {
    50: '#e5a7db',
    500: '#d780cc',
    950: '#000000',
  },
}
SCSS
$custom: #d780cc;
$custom-light: #e5a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d780cc",
  "rgb": {
    "r": 215,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 307.586,
    "s": 52.096,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71759,
    "c": 0.1437,
    "h": 331.7
  },
  "luminance": 0.34245
}

Semantic roles & 50–950 ramp

primary
#D780CC
secondary
#CCE7CF
accent
#C03926
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D780CC

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

Preview Lab → · Contrast checker → · Palette generator →

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