#D781CD#D781CD

#D781CD is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.0% C 0.143 H 331.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D781CD
RGBrgb(215, 129, 205)
HSLhsl(307, 52%, 67%)
HSVhsv(307, 40%, 84%)
CMYKcmyk(0%, 40%, 4.7%, 15.7%)
CIE-LABlab(65.40, 44.21, -25.37)
CIE-LCHlch(65.40, 50.98, 330.15°)
OKLaboklab(71.96% 0.1252 -0.0687)
OKLCHoklch(71.96% 0.143 331.2)
XYZxyz(46.8935, 34.5577, 61.9460)
Luminance0.3456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781CD #81D78B
analogous
#B681D7 #D781CD #D781A2
triadic
#D781CD #CDD781 #81CDD7
tetradic
#D781CD #D7B681 #81D78B #81A2D7
square
#D781CD #D7B681 #81D78B #81A2D7
split-complementary
#D781CD #A2D781 #81D7B6
monochromatic
#A8359B #C853BB #D781CD #E6AFDF #F4DEF2

Accessibility & contrast

On white

2.65
#D781CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#D781CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781CD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781CD#FFFFFF#000000##000000
##D781CD1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97D0
Deuteranopia (green-blind)
#95A3CA
Tritanopia (blue-blind)
#DE879E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d781cd;
/* rgb */ color: rgb(215, 129, 205);
/* oklch */ color: oklch(72.0% 0.143 331.2);
Tailwind
colors: {
  custom: {
    50: '#e5a7dc',
    500: '#d781cd',
    950: '#000000',
  },
}
SCSS
$custom: #d781cd;
$custom-light: #e5a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d781cd",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 306.977,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71955,
    "c": 0.14286,
    "h": 331.2
  },
  "luminance": 0.34555
}

Semantic roles & 50–950 ramp

primary
#D781CD
secondary
#CCE7D0
accent
#BF3826
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D781CD

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

Preview Lab → · Contrast checker → · Palette generator →

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