#D781CB#D781CB

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

Color values

HEX#D781CB
RGBrgb(215, 129, 203)
HSLhsl(308, 52%, 67%)
HSVhsv(308, 40%, 84%)
CMYKcmyk(0%, 40%, 5.6%, 15.7%)
CIE-LABlab(65.33, 43.86, -24.37)
CIE-LCHlch(65.33, 50.18, 330.95°)
OKLaboklab(71.87% 0.1248 -0.0659)
OKLCHoklch(71.87% 0.141 332.2)
XYZxyz(46.6537, 34.4618, 60.6827)
Luminance0.3446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781CB #81D78D
analogous
#B881D7 #D781CB #D781A0
triadic
#D781CB #CBD781 #81CBD7
tetradic
#D781CB #D7B881 #81D78D #81A0D7
square
#D781CB #D7B881 #81D78D #81A0D7
split-complementary
#D781CB #A0D781 #81D7B8
monochromatic
#A83598 #C853B8 #D781CB #E6AFDE #F4DEF1

Accessibility & contrast

On white

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

On black

7.89
#D781CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781CB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781CB#FFFFFF#000000##000000
##D781CB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d781cb;
/* rgb */ color: rgb(215, 129, 203);
/* oklch */ color: oklch(71.9% 0.141 332.2);
Tailwind
colors: {
  custom: {
    50: '#e5a7db',
    500: '#d781cb',
    950: '#000000',
  },
}
SCSS
$custom: #d781cb;
$custom-light: #e5a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d781cb",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 308.372,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71873,
    "c": 0.14109,
    "h": 332.2
  },
  "luminance": 0.34459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D781CB

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

Preview Lab → · Contrast checker → · Palette generator →

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