#D781DB#D781DB

#D781DB is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.5% C 0.156 H 325.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D781DB
RGBrgb(215, 129, 219)
HSLhsl(297, 56%, 68%)
HSVhsv(297, 41%, 86%)
CMYKcmyk(1.8%, 41.1%, 0%, 14.1%)
CIE-LABlab(65.95, 46.74, -32.33)
CIE-LCHlch(65.95, 56.83, 325.32°)
OKLaboklab(72.55% 0.1284 -0.0884)
OKLCHoklch(72.55% 0.156 325.4)
XYZxyz(48.6597, 35.2642, 71.2476)
Luminance0.3526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781DB #85DB81
analogous
#AA81DB #D781DB #DB81B2
triadic
#D781DB #DBD781 #81DBD7
tetradic
#D781DB #DBAA81 #85DB81 #81B2DB
square
#D781DB #DBAA81 #85DB81 #81B2DB
split-complementary
#D781DB #B2DB81 #81DBAA
monochromatic
#AA32AF #C851CD #D781DB #E6B1E9 #F5E0F6

Accessibility & contrast

On white

2.61
#D781DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D781DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781DB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781DB#FFFFFF#000000##000000
##D781DB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#90A4D8
Tritanopia (blue-blind)
#DB8AA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d781db;
/* rgb */ color: rgb(215, 129, 219);
/* oklch */ color: oklch(72.5% 0.156 325.4);
Tailwind
colors: {
  custom: {
    50: '#e5a7e6',
    500: '#d781db',
    950: '#000000',
  },
}
SCSS
$custom: #d781db;
$custom-light: #e5a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d781db",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 297.333,
    "s": 55.556,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72549,
    "c": 0.1559,
    "h": 325.4
  },
  "luminance": 0.35262
}

Semantic roles & 50–950 ramp

primary
#D781DB
secondary
#CFEACE
accent
#C3222A
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D781DB

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

Preview Lab → · Contrast checker → · Palette generator →

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