#D862D9#D862D9

#D862D9 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.3% C 0.204 H 327.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#D862D9
RGBrgb(216, 98, 217)
HSLhsl(299, 61%, 62%)
HSVhsv(299, 55%, 85%)
CMYKcmyk(0.5%, 54.8%, 0%, 14.9%)
CIE-LABlab(60.20, 61.85, -40.18)
CIE-LCHlch(60.20, 73.76, 326.99°)
OKLaboklab(68.28% 0.1717 -0.1106)
OKLCHoklch(68.28% 0.204 327.2)
XYZxyz(45.2102, 28.3467, 68.7223)
Luminance0.2834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862D9 #63D962
analogous
#9D62D9 #D862D9 #D9629F
triadic
#D862D9 #D9D862 #62D9D8
tetradic
#D862D9 #D99D62 #63D962 #629FD9
square
#D862D9 #D99D62 #63D962 #629FD9
split-complementary
#D862D9 #9FD962 #62D99D
monochromatic
#9A269B #CB31CC #D862D9 #E493E5 #F0C5F1

Accessibility & contrast

On white

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

On black

6.67
#D862D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862D9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862D9#FFFFFF#000000##000000
##D862D91.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DD
Deuteranopia (green-blind)
#7B97D6
Tritanopia (blue-blind)
#DE7095
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d862d9;
/* rgb */ color: rgb(216, 98, 217);
/* oklch */ color: oklch(68.3% 0.204 327.2);
Tailwind
colors: {
  custom: {
    50: '#e794e5',
    500: '#d862d9',
    950: '#000000',
  },
}
SCSS
$custom: #d862d9;
$custom-light: #e794e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d862d9",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 299.496,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.68284,
    "c": 0.20426,
    "h": 327.2
  },
  "luminance": 0.28344
}

Semantic roles & 50–950 ramp

primary
#D862D9
secondary
#B6E1B5
accent
#C91D1E
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D862D9

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

Preview Lab → · Contrast checker → · Palette generator →

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