#D862F1#D862F1

#D862F1 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.5% C 0.226 H 320.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D862F1
RGBrgb(216, 98, 241)
HSLhsl(290, 84%, 66%)
HSVhsv(290, 59%, 95%)
CMYKcmyk(10.4%, 59.3%, 0%, 5.5%)
CIE-LABlab(61.38, 66.17, -51.72)
CIE-LCHlch(61.38, 83.99, 321.99°)
OKLaboklab(69.53% 0.1735 -0.1441)
OKLCHoklch(69.53% 0.226 320.3)
XYZxyz(48.5619, 29.6874, 86.3743)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862F1 #7BF162
analogous
#9162F1 #D862F1 #F162C3
triadic
#D862F1 #F1D862 #62F1D8
tetradic
#D862F1 #F19162 #7BF162 #62C3F1
square
#D862F1 #F19162 #7BF162 #62C3F1
split-complementary
#D862F1 #C3F162 #62F191
monochromatic
#A712C7 #CA2AEC #D862F1 #E69AF6 #F4D2FB

Accessibility & contrast

On white

3.03
#D862F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D862F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862F1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862F1#FFFFFF#000000##000000
##D862F11.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF5
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#D979A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d862f1;
/* rgb */ color: rgb(216, 98, 241);
/* oklch */ color: oklch(69.5% 0.226 320.3);
Tailwind
colors: {
  custom: {
    50: '#e795f6',
    500: '#d862f1',
    950: '#000000',
  },
}
SCSS
$custom: #d862f1;
$custom-light: #e795f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d862f1",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 289.51,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69532,
    "c": 0.22553,
    "h": 320.3
  },
  "luminance": 0.29685
}

Semantic roles & 50–950 ramp

primary
#D862F1
secondary
#C8EFC0
accent
#E0052C
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D862F1

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

Preview Lab → · Contrast checker → · Palette generator →

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