#D862D8#D862D8

#D862D8 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.2% C 0.203 H 327.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#D862D8
RGBrgb(216, 98, 216)
HSLhsl(300, 60%, 62%)
HSVhsv(300, 55%, 85%)
CMYKcmyk(0%, 54.6%, 0%, 15.3%)
CIE-LABlab(60.15, 61.68, -39.69)
CIE-LCHlch(60.15, 73.34, 327.24°)
OKLaboklab(68.24% 0.1716 -0.1092)
OKLCHoklch(68.24% 0.203 327.5)
XYZxyz(45.0805, 28.2949, 68.0394)
Luminance0.2829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862D8 #62D862
analogous
#9D62D8 #D862D8 #D8629D
triadic
#D862D8 #D8D862 #62D8D8
tetradic
#D862D8 #D89D62 #62D862 #629DD8
square
#D862D8 #D89D62 #62D862 #629DD8
split-complementary
#D862D8 #9DD862 #62D89D
monochromatic
#992699 #CA32CA #D862D8 #E493E4 #F0C4F0

Accessibility & contrast

On white

3.15
#D862D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#D862D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862D8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862D8#FFFFFF#000000##000000
##D862D81.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5687DC
Deuteranopia (green-blind)
#7C96D5
Tritanopia (blue-blind)
#DE7094
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d862d8;
/* rgb */ color: rgb(216, 98, 216);
/* oklch */ color: oklch(68.2% 0.203 327.5);
Tailwind
colors: {
  custom: {
    50: '#e794e4',
    500: '#d862d8',
    950: '#000000',
  },
}
SCSS
$custom: #d862d8;
$custom-light: #e794e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d862d8",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 300,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.68235,
    "c": 0.20341,
    "h": 327.5
  },
  "luminance": 0.28292
}

Semantic roles & 50–950 ramp

primary
#D862D8
secondary
#B5E1B5
accent
#C81E1E
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E15
muted
#847E84

Preview Lab

Preview with #D862D8

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

Preview Lab → · Contrast checker → · Palette generator →

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