#D781CE#D781CE

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

Color values

HEX#D781CE
RGBrgb(215, 129, 206)
HSLhsl(306, 52%, 67%)
HSVhsv(306, 40%, 84%)
CMYKcmyk(0%, 40%, 4.2%, 15.7%)
CIE-LABlab(65.44, 44.39, -25.87)
CIE-LCHlch(65.44, 51.38, 329.76°)
OKLaboklab(72% 0.1255 -0.0701)
OKLCHoklch(72% 0.144 330.8)
XYZxyz(47.0146, 34.6062, 62.5838)
Luminance0.3460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781CE #81D78A
analogous
#B581D7 #D781CE #D781A3
triadic
#D781CE #CED781 #81CED7
tetradic
#D781CE #D7B581 #81D78A #81A3D7
square
#D781CE #D7B581 #81D78A #81A3D7
split-complementary
#D781CE #A3D781 #81D7B5
monochromatic
#A8359C #C853BC #D781CE #E6AFE0 #F4DEF2

Accessibility & contrast

On white

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

On black

7.92
#D781CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781CE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781CE#FFFFFF#000000##000000
##D781CE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97D1
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#DD879E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d781ce;
/* rgb */ color: rgb(215, 129, 206);
/* oklch */ color: oklch(72.0% 0.144 330.8);
Tailwind
colors: {
  custom: {
    50: '#e5a7dd',
    500: '#d781ce',
    950: '#000000',
  },
}
SCSS
$custom: #d781ce;
$custom-light: #e5a7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d781ce",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 306.279,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71996,
    "c": 0.14376,
    "h": 330.8
  },
  "luminance": 0.34604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D781CE

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

Preview Lab → · Contrast checker → · Palette generator →

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