#D781CC#D781CC

#D781CC is a light, vivid purple. Relative luminance 0.345; OKLCH L 71.9% C 0.142 H 331.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D781CC
RGBrgb(215, 129, 204)
HSLhsl(308, 52%, 67%)
HSVhsv(308, 40%, 84%)
CMYKcmyk(0%, 40%, 5.1%, 15.7%)
CIE-LABlab(65.37, 44.04, -24.87)
CIE-LCHlch(65.37, 50.58, 330.54°)
OKLaboklab(71.91% 0.125 -0.0673)
OKLCHoklch(71.91% 0.142 331.7)
XYZxyz(46.7732, 34.5096, 61.3124)
Luminance0.3451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781CC #81D78C
analogous
#B781D7 #D781CC #D781A1
triadic
#D781CC #CCD781 #81CCD7
tetradic
#D781CC #D7B781 #81D78C #81A1D7
square
#D781CC #D7B781 #81D78C #81A1D7
split-complementary
#D781CC #A1D781 #81D7B7
monochromatic
#A8359A #C853B9 #D781CC #E6AFDF #F4DEF2

Accessibility & contrast

On white

2.66
#D781CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D781CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781CC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781CC#FFFFFF#000000##000000
##D781CC1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CF
Deuteranopia (green-blind)
#95A3C9
Tritanopia (blue-blind)
#DE869D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d781cc;
/* rgb */ color: rgb(215, 129, 204);
/* oklch */ color: oklch(71.9% 0.142 331.7);
Tailwind
colors: {
  custom: {
    50: '#e5a7db',
    500: '#d781cc',
    950: '#000000',
  },
}
SCSS
$custom: #d781cc;
$custom-light: #e5a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d781cc",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 307.674,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71914,
    "c": 0.14197,
    "h": 331.7
  },
  "luminance": 0.34507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D781CC

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

Preview Lab → · Contrast checker → · Palette generator →

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