#D864E5#D864E5

#D864E5 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.1% C 0.212 H 323.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#D864E5
RGBrgb(216, 100, 229)
HSLhsl(294, 71%, 65%)
HSVhsv(294, 56%, 90%)
CMYKcmyk(5.7%, 56.3%, 0%, 10.2%)
CIE-LABlab(61.11, 63.07, -45.48)
CIE-LCHlch(61.11, 77.75, 324.21°)
OKLaboklab(69.14% 0.1703 -0.126)
OKLCHoklch(69.14% 0.212 323.5)
XYZxyz(47.0176, 29.3729, 77.3065)
Luminance0.2937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D864E5 #71E564
analogous
#9764E5 #D864E5 #E564B2
triadic
#D864E5 #E5D864 #64E5D8
tetradic
#D864E5 #E59764 #71E564 #64B2E5
square
#D864E5 #E59764 #71E564 #64B2E5
split-complementary
#D864E5 #B2E564 #64E597
monochromatic
#A21EB1 #CB30DC #D864E5 #E598EE #F2CDF7

Accessibility & contrast

On white

3.05
#D864E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#D864E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D864E5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D864E5#FFFFFF#000000##000000
##D864E51.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BE9
Deuteranopia (green-blind)
#7798E1
Tritanopia (blue-blind)
#DC769B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d864e5;
/* rgb */ color: rgb(216, 100, 229);
/* oklch */ color: oklch(69.1% 0.212 323.5);
Tailwind
colors: {
  custom: {
    50: '#e796ee',
    500: '#d864e5',
    950: '#000000',
  },
}
SCSS
$custom: #d864e5;
$custom-light: #e796ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d864e5",
  "rgb": {
    "r": 216,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 293.953,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69136,
    "c": 0.21185,
    "h": 323.5
  },
  "luminance": 0.2937
}

Semantic roles & 50–950 ramp

primary
#D864E5
secondary
#C1E9BC
accent
#D31226
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D864E5

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

Preview Lab → · Contrast checker → · Palette generator →

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