#D862E3#D862E3

#D862E3 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.8% C 0.213 H 324.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#D862E3
RGBrgb(216, 98, 227)
HSLhsl(295, 70%, 64%)
HSVhsv(295, 57%, 89%)
CMYKcmyk(4.8%, 56.8%, 0%, 11%)
CIE-LABlab(60.68, 63.61, -45.04)
CIE-LCHlch(60.68, 77.94, 324.70°)
OKLaboklab(68.79% 0.1727 -0.1247)
OKLCHoklch(68.79% 0.213 324.2)
XYZxyz(46.5505, 28.8828, 75.7811)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862E3 #6DE362
analogous
#9762E3 #D862E3 #E362AD
triadic
#D862E3 #E3D862 #62E3D8
tetradic
#D862E3 #E39762 #6DE362 #62ADE3
square
#D862E3 #E39762 #6DE362 #62ADE3
split-complementary
#D862E3 #ADE362 #62E397
monochromatic
#A01FAC #CB2EDA #D862E3 #E596EC #F2CAF6

Accessibility & contrast

On white

3.10
#D862E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#D862E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862E3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862E3#FFFFFF#000000##000000
##D862E31.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E7
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#DC749A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d862e3;
/* rgb */ color: rgb(216, 98, 227);
/* oklch */ color: oklch(68.8% 0.213 324.2);
Tailwind
colors: {
  custom: {
    50: '#e794ec',
    500: '#d862e3',
    950: '#000000',
  },
}
SCSS
$custom: #d862e3;
$custom-light: #e794ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d862e3",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 227
  },
  "hsl": {
    "h": 294.884,
    "s": 69.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.21298,
    "h": 324.2
  },
  "luminance": 0.2888
}

Semantic roles & 50–950 ramp

primary
#D862E3
secondary
#BEE7BA
accent
#D21424
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D862E3

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

Preview Lab → · Contrast checker → · Palette generator →

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