#D862C7#D862C7

#D862C7 is a light, vivid purple. Relative luminance 0.275; OKLCH L 67.4% C 0.189 H 333.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#D862C7
RGBrgb(216, 98, 199)
HSLhsl(309, 60%, 62%)
HSVhsv(309, 55%, 85%)
CMYKcmyk(0%, 54.6%, 7.9%, 15.3%)
CIE-LABlab(59.40, 58.83, -31.25)
CIE-LCHlch(59.40, 66.61, 332.03°)
OKLaboklab(67.43% 0.1692 -0.0851)
OKLCHoklch(67.43% 0.189 333.3)
XYZxyz(42.9954, 27.4608, 57.0577)
Luminance0.2746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862C7 #62D873
analogous
#AE62D8 #D862C7 #D8628C
triadic
#D862C7 #C7D862 #62C7D8
tetradic
#D862C7 #D8AE62 #62D873 #628CD8
square
#D862C7 #D8AE62 #62D873 #628CD8
split-complementary
#D862C7 #8CD862 #62D8AE
monochromatic
#992689 #CA32B5 #D862C7 #E493D8 #F0C4EA

Accessibility & contrast

On white

3.23
#D862C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#D862C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862C7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862C7#FFFFFF#000000##000000
##D862C71.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#8395C4
Tritanopia (blue-blind)
#E16A8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d862c7;
/* rgb */ color: rgb(216, 98, 199);
/* oklch */ color: oklch(67.4% 0.189 333.3);
Tailwind
colors: {
  custom: {
    50: '#e794d8',
    500: '#d862c7',
    950: '#000000',
  },
}
SCSS
$custom: #d862c7;
$custom-light: #e794d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d862c7",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 308.644,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67433,
    "c": 0.18934,
    "h": 333.3
  },
  "luminance": 0.27458
}

Semantic roles & 50–950 ramp

primary
#D862C7
secondary
#B5E1BB
accent
#C8361E
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D862C7

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

Preview Lab → · Contrast checker → · Palette generator →

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