#D862CD#D862CD

#D862CD is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.7% C 0.194 H 331.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#D862CD
RGBrgb(216, 98, 205)
HSLhsl(306, 60%, 62%)
HSVhsv(306, 55%, 85%)
CMYKcmyk(0%, 54.6%, 5.1%, 15.3%)
CIE-LABlab(59.66, 59.81, -34.25)
CIE-LCHlch(59.66, 68.93, 330.21°)
OKLaboklab(67.71% 0.1701 -0.0936)
OKLCHoklch(67.71% 0.194 331.2)
XYZxyz(43.7058, 27.7450, 60.7991)
Luminance0.2774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862CD #62D86D
analogous
#A862D8 #D862CD #D86292
triadic
#D862CD #CDD862 #62CDD8
tetradic
#D862CD #D8A862 #62D86D #6292D8
square
#D862CD #D8A862 #62D86D #6292D8
split-complementary
#D862CD #92D862 #62D8A8
monochromatic
#99268F #CA32BC #D862CD #E493DD #F0C4EC

Accessibility & contrast

On white

3.21
#D862CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#D862CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862CD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862CD#FFFFFF#000000##000000
##D862CD1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#E06C8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d862cd;
/* rgb */ color: rgb(216, 98, 205);
/* oklch */ color: oklch(67.7% 0.194 331.2);
Tailwind
colors: {
  custom: {
    50: '#e794dc',
    500: '#d862cd',
    950: '#000000',
  },
}
SCSS
$custom: #d862cd;
$custom-light: #e794dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d862cd",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 305.593,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67708,
    "c": 0.19418,
    "h": 331.2
  },
  "luminance": 0.27742
}

Semantic roles & 50–950 ramp

primary
#D862CD
secondary
#B5E1B9
accent
#C82D1E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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