#D851CE#D851CE

#D851CE is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.219 H 330.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#D851CE
RGBrgb(216, 81, 206)
HSLhsl(304, 63%, 58%)
HSVhsv(304, 63%, 85%)
CMYKcmyk(0%, 62.5%, 4.6%, 15.3%)
CIE-LABlab(57.02, 67.31, -38.94)
CIE-LCHlch(57.02, 77.76, 329.95°)
OKLaboklab(65.79% 0.1913 -0.107)
OKLCHoklch(65.79% 0.219 330.8)
XYZxyz(42.4017, 24.9431, 60.9618)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851CE #51D85B
analogous
#9E51D8 #D851CE #D8518B
triadic
#D851CE #CED851 #51CED8
tetradic
#D851CE #D89E51 #51D85B #518BD8
square
#D851CE #D89E51 #51D85B #518BD8
split-complementary
#D851CE #8BD851 #51D89E
monochromatic
#8F2086 #C12BB6 #D851CE #E383DC #EEB5EA

Accessibility & contrast

On white

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

On black

5.99
#D851CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851CE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851CE#FFFFFF#000000##000000
##D851CE1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#7690CA
Tritanopia (blue-blind)
#E05F88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d851ce;
/* rgb */ color: rgb(216, 81, 206);
/* oklch */ color: oklch(65.8% 0.219 330.8);
Tailwind
colors: {
  custom: {
    50: '#e78bdd',
    500: '#d851ce',
    950: '#000000',
  },
}
SCSS
$custom: #d851ce;
$custom-light: #e78bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d851ce",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 304.444,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65794,
    "c": 0.21919,
    "h": 330.8
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#D851CE
secondary
#A8DDAB
accent
#E64E41
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D851CE

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

Preview Lab → · Contrast checker → · Palette generator →

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