#D851CB#D851CB

#D851CB is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.217 H 331.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D851CB
RGBrgb(216, 81, 203)
HSLhsl(306, 63%, 58%)
HSVhsv(306, 63%, 85%)
CMYKcmyk(0%, 62.5%, 6%, 15.3%)
CIE-LABlab(56.88, 66.83, -37.46)
CIE-LCHlch(56.88, 76.61, 330.73°)
OKLaboklab(65.65% 0.191 -0.1027)
OKLCHoklch(65.65% 0.217 331.7)
XYZxyz(42.0408, 24.7987, 59.0607)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851CB #51D85E
analogous
#A151D8 #D851CB #D85187
triadic
#D851CB #CBD851 #51CBD8
tetradic
#D851CB #D8A151 #51D85E #5187D8
square
#D851CB #D8A151 #51D85E #5187D8
split-complementary
#D851CB #87D851 #51D8A1
monochromatic
#8F2084 #C12BB2 #D851CB #E383DA #EEB5E9

Accessibility & contrast

On white

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

On black

5.96
#D851CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851CB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851CB#FFFFFF#000000##000000
##D851CB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#788FC7
Tritanopia (blue-blind)
#E05E87
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d851cb;
/* rgb */ color: rgb(216, 81, 203);
/* oklch */ color: oklch(65.6% 0.217 331.7);
Tailwind
colors: {
  custom: {
    50: '#e78bdb',
    500: '#d851cb',
    950: '#000000',
  },
}
SCSS
$custom: #d851cb;
$custom-light: #e78bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d851cb",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 305.778,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65646,
    "c": 0.21687,
    "h": 331.7
  },
  "luminance": 0.24796
}

Semantic roles & 50–950 ramp

primary
#D851CB
secondary
#A8DDAD
accent
#E65141
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D851CB

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

Preview Lab → · Contrast checker → · Palette generator →

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