#D862DB#D862DB

#D862DB is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.4% C 0.206 H 326.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#D862DB
RGBrgb(216, 98, 219)
HSLhsl(299, 63%, 62%)
HSVhsv(299, 55%, 86%)
CMYKcmyk(1.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(60.29, 62.20, -41.15)
CIE-LCHlch(60.29, 74.58, 326.51°)
OKLaboklab(68.38% 0.1719 -0.1135)
OKLCHoklch(68.38% 0.206 326.6)
XYZxyz(45.4719, 28.4514, 70.1007)
Luminance0.2845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862DB #65DB62
analogous
#9B62DB #D862DB #DB62A2
triadic
#D862DB #DBD862 #62DBD8
tetradic
#D862DB #DB9B62 #65DB62 #62A2DB
square
#D862DB #DB9B62 #65DB62 #62A2DB
split-complementary
#D862DB #A2DB62 #62DB9B
monochromatic
#9B249E #CC30D0 #D862DB #E494E6 #F1C6F2

Accessibility & contrast

On white

3.14
#D862DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D862DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862DB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862DB#FFFFFF#000000##000000
##D862DB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488DF
Deuteranopia (green-blind)
#7A97D8
Tritanopia (blue-blind)
#DD7196
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d862db;
/* rgb */ color: rgb(216, 98, 219);
/* oklch */ color: oklch(68.4% 0.206 326.6);
Tailwind
colors: {
  custom: {
    50: '#e794e6',
    500: '#d862db',
    950: '#000000',
  },
}
SCSS
$custom: #d862db;
$custom-light: #e794e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d862db",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 298.512,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.20598,
    "h": 326.6
  },
  "luminance": 0.28449
}

Semantic roles & 50–950 ramp

primary
#D862DB
secondary
#B7E3B6
accent
#CA1B1F
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D862DB

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

Preview Lab → · Contrast checker → · Palette generator →

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