#D851D9#D851D9

#D851D9 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.228 H 327.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#D851D9
RGBrgb(216, 81, 217)
HSLhsl(300, 64%, 58%)
HSVhsv(300, 63%, 85%)
CMYKcmyk(0.5%, 62.7%, 0%, 14.9%)
CIE-LABlab(57.56, 69.11, -44.34)
CIE-LCHlch(57.56, 82.11, 327.31°)
OKLaboklab(66.36% 0.1921 -0.1225)
OKLCHoklch(66.36% 0.228 327.5)
XYZxyz(43.7851, 25.4964, 68.2473)
Luminance0.2549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851D9 #52D951
analogous
#9451D9 #D851D9 #D95196
triadic
#D851D9 #D9D851 #51D9D8
tetradic
#D851D9 #D99451 #52D951 #5196D9
square
#D851D9 #D99451 #52D951 #5196D9
split-complementary
#D851D9 #96D951 #51D994
monochromatic
#8F1F90 #C12AC2 #D851D9 #E383E4 #EFB5EF

Accessibility & contrast

On white

3.44
#D851D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#D851D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851D9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851D9#FFFFFF#000000##000000
##D851D91.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDD
Deuteranopia (green-blind)
#7190D5
Tritanopia (blue-blind)
#DE638E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d851d9;
/* rgb */ color: rgb(216, 81, 217);
/* oklch */ color: oklch(66.4% 0.228 327.5);
Tailwind
colors: {
  custom: {
    50: '#e78be5',
    500: '#d851d9',
    950: '#000000',
  },
}
SCSS
$custom: #d851d9;
$custom-light: #e78be5;
$custom-dark: #000000;
JSON
{
  "hex": "#d851d9",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 299.559,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66357,
    "c": 0.22788,
    "h": 327.5
  },
  "luminance": 0.25494
}

Semantic roles & 50–950 ramp

primary
#D851D9
secondary
#A8DEA8
accent
#E74142
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D851D9

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

Preview Lab → · Contrast checker → · Palette generator →

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