#D781DF#D781DF

#D781DF is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.7% C 0.160 H 324.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D781DF
RGBrgb(215, 129, 223)
HSLhsl(295, 59%, 69%)
HSVhsv(295, 42%, 87%)
CMYKcmyk(3.6%, 42.2%, 0%, 12.5%)
CIE-LABlab(66.12, 47.48, -34.30)
CIE-LCHlch(66.12, 58.58, 324.16°)
OKLaboklab(72.73% 0.1292 -0.094)
OKLCHoklch(72.73% 0.16 324)
XYZxyz(49.1926, 35.4774, 74.0543)
Luminance0.3548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781DF #89DF81
analogous
#A881DF #D781DF #DF81B8
triadic
#D781DF #DFD781 #81DFD7
tetradic
#D781DF #DFA881 #89DF81 #81B8DF
square
#D781DF #DFA881 #89DF81 #81B8DF
split-complementary
#D781DF #B8DF81 #81DFA8
monochromatic
#AB2FB7 #C850D3 #D781DF #E6B2EB #F6E3F8

Accessibility & contrast

On white

2.59
#D781DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D781DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781DF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781DF#FFFFFF#000000##000000
##D781DF1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#DA8BA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d781df;
/* rgb */ color: rgb(215, 129, 223);
/* oklch */ color: oklch(72.7% 0.160 324.0);
Tailwind
colors: {
  custom: {
    50: '#e5a8e9',
    500: '#d781df',
    950: '#000000',
  },
}
SCSS
$custom: #d781df;
$custom-light: #e5a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d781df",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 294.894,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.1598,
    "h": 324
  },
  "luminance": 0.35475
}

Semantic roles & 50–950 ramp

primary
#D781DF
secondary
#D2ECD0
accent
#C71E2D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D781DF

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

Preview Lab → · Contrast checker → · Palette generator →

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