#D862F5#D862F5

#D862F5 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.8% C 0.229 H 319.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#D862F5
RGBrgb(216, 98, 245)
HSLhsl(288, 88%, 67%)
HSVhsv(288, 60%, 96%)
CMYKcmyk(11.8%, 60%, 0%, 3.9%)
CIE-LABlab(61.59, 66.92, -53.61)
CIE-LCHlch(61.59, 85.74, 321.30°)
OKLaboklab(69.75% 0.1736 -0.1496)
OKLCHoklch(69.75% 0.229 319.3)
XYZxyz(49.1659, 29.9290, 89.5556)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862F5 #7FF562
analogous
#8E62F5 #D862F5 #F562C9
triadic
#D862F5 #F5D862 #62F5D8
tetradic
#D862F5 #F58E62 #7FF562 #62C9F5
square
#D862F5 #F58E62 #7FF562 #62C9F5
split-complementary
#D862F5 #C9F562 #62F58E
monochromatic
#A90DCF #CA28F1 #D862F5 #E69CF9 #F5D5FC

Accessibility & contrast

On white

3.01
#D862F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#D862F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862F5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862F5#FFFFFF#000000##000000
##D862F51.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#6C99F1
Tritanopia (blue-blind)
#D87AA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d862f5;
/* rgb */ color: rgb(216, 98, 245);
/* oklch */ color: oklch(69.8% 0.229 319.3);
Tailwind
colors: {
  custom: {
    50: '#e795f9',
    500: '#d862f5',
    950: '#000000',
  },
}
SCSS
$custom: #d862f5;
$custom-light: #e795f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d862f5",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 288.163,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69752,
    "c": 0.22918,
    "h": 319.3
  },
  "luminance": 0.29927
}

Semantic roles & 50–950 ramp

primary
#D862F5
secondary
#CBF1C2
accent
#E5012E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D862F5

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

Preview Lab → · Contrast checker → · Palette generator →

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