#D862FD#D862FD

#D862FD is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.2% C 0.237 H 317.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D862FD
RGBrgb(216, 98, 253)
HSLhsl(286, 97%, 69%)
HSVhsv(286, 61%, 99%)
CMYKcmyk(14.6%, 61.3%, 0%, 0.8%)
CIE-LABlab(62.02, 68.44, -57.34)
CIE-LCHlch(62.02, 89.28, 320.04°)
OKLaboklab(70.2% 0.1738 -0.1605)
OKLCHoklch(70.2% 0.237 317.3)
XYZxyz(50.4136, 30.4281, 96.1271)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862FD #87FD62
analogous
#8B62FD #D862FD #FD62D5
triadic
#D862FD #FDD862 #62FDD8
tetradic
#D862FD #FD8B62 #87FD62 #62D5FD
square
#D862FD #FD8B62 #87FD62 #62D5FD
split-complementary
#D862FD #D5FD62 #62FD8B
monochromatic
#AD03E2 #C926FC #D862FD #E79EFE #F6DBFF

Accessibility & contrast

On white

2.96
#D862FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D862FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D862FD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862FD#FFFFFF#000000##000000
##D862FD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#669AF9
Tritanopia (blue-blind)
#D77DA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d862fd;
/* rgb */ color: rgb(216, 98, 253);
/* oklch */ color: oklch(70.2% 0.237 317.3);
Tailwind
colors: {
  custom: {
    50: '#e795ff',
    500: '#d862fd',
    950: '#000000',
  },
}
SCSS
$custom: #d862fd;
$custom-light: #e795ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d862fd",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 285.677,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70202,
    "c": 0.23653,
    "h": 317.3
  },
  "luminance": 0.30426
}

Semantic roles & 50–950 ramp

primary
#D862FD
secondary
#D1F4C6
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D862FD

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

Preview Lab → · Contrast checker → · Palette generator →

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