#D851CD#D851CD

#D851CD is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.218 H 331.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D851CD
RGBrgb(216, 81, 205)
HSLhsl(305, 63%, 58%)
HSVhsv(305, 63%, 85%)
CMYKcmyk(0%, 62.5%, 5.1%, 15.3%)
CIE-LABlab(56.97, 67.15, -38.45)
CIE-LCHlch(56.97, 77.38, 330.20°)
OKLaboklab(65.74% 0.1912 -0.1055)
OKLCHoklch(65.74% 0.218 331.1)
XYZxyz(42.2806, 24.8947, 60.3240)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851CD #51D85C
analogous
#9F51D8 #D851CD #D85189
triadic
#D851CD #CDD851 #51CDD8
tetradic
#D851CD #D89F51 #51D85C #5189D8
square
#D851CD #D89F51 #51D85C #5189D8
split-complementary
#D851CD #89D851 #51D89F
monochromatic
#8F2086 #C12BB4 #D851CD #E383DB #EEB5EA

Accessibility & contrast

On white

3.51
#D851CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D851CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851CD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851CD#FFFFFF#000000##000000
##D851CD1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#778FC9
Tritanopia (blue-blind)
#E05E88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d851cd;
/* rgb */ color: rgb(216, 81, 205);
/* oklch */ color: oklch(65.7% 0.218 331.1);
Tailwind
colors: {
  custom: {
    50: '#e78bdc',
    500: '#d851cd',
    950: '#000000',
  },
}
SCSS
$custom: #d851cd;
$custom-light: #e78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d851cd",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 304.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65744,
    "c": 0.21841,
    "h": 331.1
  },
  "luminance": 0.24892
}

Semantic roles & 50–950 ramp

primary
#D851CD
secondary
#A8DDAC
accent
#E64F41
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D851CD

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

Preview Lab → · Contrast checker → · Palette generator →

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