#D862CA#D862CA

#D862CA is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.6% C 0.192 H 332.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#D862CA
RGBrgb(216, 98, 202)
HSLhsl(307, 60%, 62%)
HSVhsv(307, 55%, 85%)
CMYKcmyk(0%, 54.6%, 6.5%, 15.3%)
CIE-LABlab(59.53, 59.32, -32.75)
CIE-LCHlch(59.53, 67.76, 331.10°)
OKLaboklab(67.57% 0.1697 -0.0893)
OKLCHoklch(67.57% 0.192 332.2)
XYZxyz(43.3471, 27.6015, 58.9102)
Luminance0.2760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862CA #62D870
analogous
#AB62D8 #D862CA #D8628F
triadic
#D862CA #CAD862 #62CAD8
tetradic
#D862CA #D8AB62 #62D870 #628FD8
square
#D862CA #D8AB62 #62D870 #628FD8
split-complementary
#D862CA #8FD862 #62D8AB
monochromatic
#99268C #CA32B8 #D862CA #E493DB #F0C4EB

Accessibility & contrast

On white

3.22
#D862CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#D862CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862CA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862CA#FFFFFF#000000##000000
##D862CA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#8295C7
Tritanopia (blue-blind)
#E06B8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d862ca;
/* rgb */ color: rgb(216, 98, 202);
/* oklch */ color: oklch(67.6% 0.192 332.2);
Tailwind
colors: {
  custom: {
    50: '#e794da',
    500: '#d862ca',
    950: '#000000',
  },
}
SCSS
$custom: #d862ca;
$custom-light: #e794da;
$custom-dark: #000000;
JSON
{
  "hex": "#d862ca",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 307.119,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.19175,
    "h": 332.2
  },
  "luminance": 0.27599
}

Semantic roles & 50–950 ramp

primary
#D862CA
secondary
#B5E1BA
accent
#C8321E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D862CA

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

Preview Lab → · Contrast checker → · Palette generator →

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