#D782CD#D782CD

#D782CD is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.1% C 0.141 H 331.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D782CD
RGBrgb(215, 130, 205)
HSLhsl(307, 52%, 68%)
HSVhsv(307, 40%, 84%)
CMYKcmyk(0%, 39.5%, 4.7%, 15.7%)
CIE-LABlab(65.61, 43.69, -25.05)
CIE-LCHlch(65.61, 50.37, 330.17°)
OKLaboklab(72.11% 0.1238 -0.0678)
OKLCHoklch(72.11% 0.141 331.3)
XYZxyz(47.0259, 34.8225, 61.9902)
Luminance0.3482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D782CD #82D78C
analogous
#B782D7 #D782CD #D782A2
triadic
#D782CD #CDD782 #82CDD7
tetradic
#D782CD #D7B782 #82D78C #82A2D7
square
#D782CD #D7B782 #82D78C #82A2D7
split-complementary
#D782CD #A2D782 #82D7B7
monochromatic
#A9369B #C854BA #D782CD #E6B0E0 #F5DFF2

Accessibility & contrast

On white

2.64
#D782CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D782CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D782CD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D782CD#FFFFFF#000000##000000
##D782CD1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D0
Deuteranopia (green-blind)
#95A4CA
Tritanopia (blue-blind)
#DE889E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d782cd;
/* rgb */ color: rgb(215, 130, 205);
/* oklch */ color: oklch(72.1% 0.141 331.3);
Tailwind
colors: {
  custom: {
    50: '#e5a8dc',
    500: '#d782cd',
    950: '#000000',
  },
}
SCSS
$custom: #d782cd;
$custom-light: #e5a8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d782cd",
  "rgb": {
    "r": 215,
    "g": 130,
    "b": 205
  },
  "hsl": {
    "h": 307.059,
    "s": 51.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72111,
    "c": 0.14113,
    "h": 331.3
  },
  "luminance": 0.3482
}

Semantic roles & 50–950 ramp

primary
#D782CD
secondary
#CDE8D0
accent
#BF3927
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D782CD

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

Preview Lab → · Contrast checker → · Palette generator →

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