#D862FF#D862FF

#D862FF is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.3% C 0.238 H 316.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D862FF
RGBrgb(216, 98, 255)
HSLhsl(285, 100%, 69%)
HSVhsv(285, 62%, 100%)
CMYKcmyk(15.3%, 61.6%, 0%, 0%)
CIE-LABlab(62.13, 68.82, -58.27)
CIE-LCHlch(62.13, 90.18, 319.75°)
OKLaboklab(70.32% 0.1738 -0.1632)
OKLCHoklch(70.32% 0.238 316.8)
XYZxyz(50.7339, 30.5562, 97.8138)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862FF #89FF62
analogous
#8A62FF #D862FF #FF62D7
triadic
#D862FF #FFD862 #62FFD8
tetradic
#D862FF #FF8A62 #89FF62 #62D7FF
square
#D862FF #FF8A62 #89FF62 #62D7FF
split-complementary
#D862FF #D7FF62 #62FF8A
monochromatic
#AD00E7 #C925FF #D862FF #E79FFF #F6DCFF

Accessibility & contrast

On white

2.95
#D862FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#D862FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D862FF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862FF#FFFFFF#000000##000000
##D862FF1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8FFF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#D67EA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d862ff;
/* rgb */ color: rgb(216, 98, 255);
/* oklch */ color: oklch(70.3% 0.238 316.8);
Tailwind
colors: {
  custom: {
    50: '#e895ff',
    500: '#d862ff',
    950: '#000000',
  },
}
SCSS
$custom: #d862ff;
$custom-light: #e895ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d862ff",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 285.096,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70316,
    "c": 0.23838,
    "h": 316.8
  },
  "luminance": 0.30554
}

Semantic roles & 50–950 ramp

primary
#D862FF
secondary
#D3F5C8
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D862FF

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

Preview Lab → · Contrast checker → · Palette generator →

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