#D862DF#D862DF

#D862DF is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.6% C 0.209 H 325.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#D862DF
RGBrgb(216, 98, 223)
HSLhsl(297, 66%, 63%)
HSVhsv(297, 56%, 87%)
CMYKcmyk(3.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(60.48, 62.90, -43.10)
CIE-LCHlch(60.48, 76.25, 325.58°)
OKLaboklab(68.58% 0.1723 -0.1191)
OKLCHoklch(68.58% 0.209 325.4)
XYZxyz(46.0048, 28.6646, 72.9074)
Luminance0.2866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862DF #69DF62
analogous
#9962DF #D862DF #DF62A7
triadic
#D862DF #DFD862 #62DFD8
tetradic
#D862DF #DF9962 #69DF62 #62A7DF
square
#D862DF #DF9962 #69DF62 #62A7DF
split-complementary
#D862DF #A7DF62 #62DF99
monochromatic
#9E22A5 #CB2FD5 #D862DF #E595E9 #F1C8F4

Accessibility & contrast

On white

3.12
#D862DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D862DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862DF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862DF#FFFFFF#000000##000000
##D862DF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#DD7298
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d862df;
/* rgb */ color: rgb(216, 98, 223);
/* oklch */ color: oklch(68.6% 0.209 325.4);
Tailwind
colors: {
  custom: {
    50: '#e794e9',
    500: '#d862df',
    950: '#000000',
  },
}
SCSS
$custom: #d862df;
$custom-light: #e794e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d862df",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 296.64,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68585,
    "c": 0.20946,
    "h": 325.4
  },
  "luminance": 0.28662
}

Semantic roles & 50–950 ramp

primary
#D862DF
secondary
#BAE5B8
accent
#CE1722
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D862DF

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

Preview Lab → · Contrast checker → · Palette generator →

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