#D851CC#D851CC

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

Color values

HEX#D851CC
RGBrgb(216, 81, 204)
HSLhsl(305, 63%, 58%)
HSVhsv(305, 63%, 85%)
CMYKcmyk(0%, 62.5%, 5.6%, 15.3%)
CIE-LABlab(56.93, 66.99, -37.95)
CIE-LCHlch(56.93, 76.99, 330.47°)
OKLaboklab(65.7% 0.1911 -0.1041)
OKLCHoklch(65.7% 0.218 331.4)
XYZxyz(42.1603, 24.8465, 59.6903)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851CC #51D85D
analogous
#A051D8 #D851CC #D85188
triadic
#D851CC #CCD851 #51CCD8
tetradic
#D851CC #D8A051 #51D85D #5188D8
square
#D851CC #D8A051 #51D85D #5188D8
split-complementary
#D851CC #88D851 #51D8A0
monochromatic
#8F2085 #C12BB3 #D851CC #E383DB #EEB5E9

Accessibility & contrast

On white

3.52
#D851CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D851CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851CC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851CC#FFFFFF#000000##000000
##D851CC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CD0
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#E05E87
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d851cc;
/* rgb */ color: rgb(216, 81, 204);
/* oklch */ color: oklch(65.7% 0.218 331.4);
Tailwind
colors: {
  custom: {
    50: '#e78bdc',
    500: '#d851cc',
    950: '#000000',
  },
}
SCSS
$custom: #d851cc;
$custom-light: #e78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d851cc",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 305.333,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65695,
    "c": 0.21763,
    "h": 331.4
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D851CC

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

Preview Lab → · Contrast checker → · Palette generator →

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