#D862CE#D862CE

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

Color values

HEX#D862CE
RGBrgb(216, 98, 206)
HSLhsl(305, 60%, 62%)
HSVhsv(305, 55%, 85%)
CMYKcmyk(0%, 54.6%, 4.6%, 15.3%)
CIE-LABlab(59.70, 59.98, -34.75)
CIE-LCHlch(59.70, 69.32, 329.92°)
OKLaboklab(67.76% 0.1703 -0.095)
OKLCHoklch(67.76% 0.195 330.8)
XYZxyz(43.8269, 27.7934, 61.4368)
Luminance0.2779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862CE #62D86C
analogous
#A762D8 #D862CE #D86293
triadic
#D862CE #CED862 #62CED8
tetradic
#D862CE #D8A762 #62D86C #6293D8
square
#D862CE #D8A762 #62D86C #6293D8
split-complementary
#D862CE #93D862 #62D8A7
monochromatic
#992690 #CA32BE #D862CE #E493DD #F0C4ED

Accessibility & contrast

On white

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

On black

6.56
#D862CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862CE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862CE#FFFFFF#000000##000000
##D862CE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D1
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#E06C8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d862ce;
/* rgb */ color: rgb(216, 98, 206);
/* oklch */ color: oklch(67.8% 0.195 330.8);
Tailwind
colors: {
  custom: {
    50: '#e794dd',
    500: '#d862ce',
    950: '#000000',
  },
}
SCSS
$custom: #d862ce;
$custom-light: #e794dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d862ce",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 305.085,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67755,
    "c": 0.195,
    "h": 330.8
  },
  "luminance": 0.27791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D862CE

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

Preview Lab → · Contrast checker → · Palette generator →

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