#D862CC#D862CC

#D862CC is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.7% C 0.193 H 331.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#D862CC
RGBrgb(216, 98, 204)
HSLhsl(306, 60%, 62%)
HSVhsv(306, 55%, 85%)
CMYKcmyk(0%, 54.6%, 5.6%, 15.3%)
CIE-LABlab(59.61, 59.65, -33.75)
CIE-LCHlch(59.61, 68.54, 330.50°)
OKLaboklab(67.66% 0.17 -0.0922)
OKLCHoklch(67.66% 0.193 331.5)
XYZxyz(43.5855, 27.6968, 60.1654)
Luminance0.2769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862CC #62D86E
analogous
#A962D8 #D862CC #D86291
triadic
#D862CC #CCD862 #62CCD8
tetradic
#D862CC #D8A962 #62D86E #6291D8
square
#D862CC #D8A962 #62D86E #6291D8
split-complementary
#D862CC #91D862 #62D8A9
monochromatic
#99268E #CA32BB #D862CC #E493DC #F0C4EC

Accessibility & contrast

On white

3.21
#D862CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#D862CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862CC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862CC#FFFFFF#000000##000000
##D862CC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#8196C9
Tritanopia (blue-blind)
#E06C8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d862cc;
/* rgb */ color: rgb(216, 98, 204);
/* oklch */ color: oklch(67.7% 0.193 331.5);
Tailwind
colors: {
  custom: {
    50: '#e794dc',
    500: '#d862cc',
    950: '#000000',
  },
}
SCSS
$custom: #d862cc;
$custom-light: #e794dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d862cc",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 306.102,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.19337,
    "h": 331.5
  },
  "luminance": 0.27694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D862CC

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

Preview Lab → · Contrast checker → · Palette generator →

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