#D862CF#D862CF

#D862CF is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.8% C 0.196 H 330.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D862CF
RGBrgb(216, 98, 207)
HSLhsl(305, 60%, 62%)
HSVhsv(305, 55%, 85%)
CMYKcmyk(0%, 54.6%, 4.2%, 15.3%)
CIE-LABlab(59.75, 60.15, -35.24)
CIE-LCHlch(59.75, 69.71, 329.63°)
OKLaboklab(67.8% 0.1704 -0.0965)
OKLCHoklch(67.8% 0.196 330.5)
XYZxyz(43.9488, 27.8422, 62.0786)
Luminance0.2784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862CF #62D86B
analogous
#A662D8 #D862CF #D86294
triadic
#D862CF #CFD862 #62CFD8
tetradic
#D862CF #D8A662 #62D86B #6294D8
square
#D862CF #D8A662 #62D86B #6294D8
split-complementary
#D862CF #94D862 #62D8A6
monochromatic
#992691 #CA32BF #D862CF #E493DE #F0C4ED

Accessibility & contrast

On white

3.20
#D862CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D862CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862CF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862CF#FFFFFF#000000##000000
##D862CF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D2
Deuteranopia (green-blind)
#8096CC
Tritanopia (blue-blind)
#DF6D90
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d862cf;
/* rgb */ color: rgb(216, 98, 207);
/* oklch */ color: oklch(67.8% 0.196 330.5);
Tailwind
colors: {
  custom: {
    50: '#e794de',
    500: '#d862cf',
    950: '#000000',
  },
}
SCSS
$custom: #d862cf;
$custom-light: #e794de;
$custom-dark: #000000;
JSON
{
  "hex": "#d862cf",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 304.576,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67802,
    "c": 0.19584,
    "h": 330.5
  },
  "luminance": 0.27839
}

Semantic roles & 50–950 ramp

primary
#D862CF
secondary
#B5E1B8
accent
#C82B1E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D862CF

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

Preview Lab → · Contrast checker → · Palette generator →

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