#D851CA#D851CA

#D851CA is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.216 H 332.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D851CA
RGBrgb(216, 81, 202)
HSLhsl(306, 63%, 58%)
HSVhsv(306, 63%, 85%)
CMYKcmyk(0%, 62.5%, 6.5%, 15.3%)
CIE-LABlab(56.83, 66.67, -36.96)
CIE-LCHlch(56.83, 76.23, 331.00°)
OKLaboklab(65.6% 0.1909 -0.1013)
OKLCHoklch(65.6% 0.216 332.1)
XYZxyz(41.9220, 24.7512, 58.4351)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851CA #51D85F
analogous
#A251D8 #D851CA #D85186
triadic
#D851CA #CAD851 #51CAD8
tetradic
#D851CA #D8A251 #51D85F #5186D8
square
#D851CA #D8A251 #51D85F #5186D8
split-complementary
#D851CA #86D851 #51D8A2
monochromatic
#8F2083 #C12BB1 #D851CA #E383D9 #EEB5E8

Accessibility & contrast

On white

3.53
#D851CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D851CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851CA#FFFFFF#000000##000000
##D851CA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCE
Deuteranopia (green-blind)
#788FC6
Tritanopia (blue-blind)
#E15D86
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d851ca;
/* rgb */ color: rgb(216, 81, 202);
/* oklch */ color: oklch(65.6% 0.216 332.1);
Tailwind
colors: {
  custom: {
    50: '#e78ada',
    500: '#d851ca',
    950: '#000000',
  },
}
SCSS
$custom: #d851ca;
$custom-light: #e78ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d851ca",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 306.222,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65596,
    "c": 0.21611,
    "h": 332.1
  },
  "luminance": 0.24748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D851CA

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

Preview Lab → · Contrast checker → · Palette generator →

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