#D851CF#D851CF

#D851CF is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.220 H 330.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#D851CF
RGBrgb(216, 81, 207)
HSLhsl(304, 63%, 58%)
HSVhsv(304, 63%, 85%)
CMYKcmyk(0%, 62.5%, 4.2%, 15.3%)
CIE-LABlab(57.07, 67.47, -39.44)
CIE-LCHlch(57.07, 78.15, 329.69°)
OKLaboklab(65.84% 0.1914 -0.1084)
OKLCHoklch(65.84% 0.22 330.5)
XYZxyz(42.5236, 24.9918, 61.6036)
Luminance0.2499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851CF #51D85A
analogous
#9D51D8 #D851CF #D8518B
triadic
#D851CF #CFD851 #51CFD8
tetradic
#D851CF #D89D51 #51D85A #518BD8
square
#D851CF #D89D51 #51D85A #518BD8
split-complementary
#D851CF #8BD851 #51D89D
monochromatic
#8F2087 #C12BB7 #D851CF #E383DD #EEB5EB

Accessibility & contrast

On white

3.50
#D851CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#D851CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851CF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851CF#FFFFFF#000000##000000
##D851CF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#7690CB
Tritanopia (blue-blind)
#E05F89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d851cf;
/* rgb */ color: rgb(216, 81, 207);
/* oklch */ color: oklch(65.8% 0.220 330.5);
Tailwind
colors: {
  custom: {
    50: '#e78bde',
    500: '#d851cf',
    950: '#000000',
  },
}
SCSS
$custom: #d851cf;
$custom-light: #e78bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d851cf",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 304,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65844,
    "c": 0.21996,
    "h": 330.5
  },
  "luminance": 0.24989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D851CF

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

Preview Lab → · Contrast checker → · Palette generator →

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