#D864FD#D864FD

#D864FD is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.4% C 0.234 H 317.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D864FD
RGBrgb(216, 100, 253)
HSLhsl(285, 97%, 69%)
HSVhsv(285, 60%, 99%)
CMYKcmyk(14.6%, 60.5%, 0%, 0.8%)
CIE-LABlab(62.34, 67.55, -56.83)
CIE-LCHlch(62.34, 88.28, 319.93°)
OKLaboklab(70.44% 0.1715 -0.159)
OKLCHoklch(70.44% 0.234 317.2)
XYZxyz(50.6031, 30.8071, 96.1903)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D864FD #89FD64
analogous
#8C64FD #D864FD #FD64D6
triadic
#D864FD #FDD864 #64FDD8
tetradic
#D864FD #FD8C64 #89FD64 #64D6FD
square
#D864FD #FD8C64 #89FD64 #64D6FD
split-complementary
#D864FD #D6FD64 #64FD8C
monochromatic
#AD03E4 #C928FC #D864FD #E7A0FE #F6DDFF

Accessibility & contrast

On white

2.93
#D864FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D864FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D864FD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D864FD#FFFFFF#000000##000000
##D864FD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#D77EA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d864fd;
/* rgb */ color: rgb(216, 100, 253);
/* oklch */ color: oklch(70.4% 0.234 317.2);
Tailwind
colors: {
  custom: {
    50: '#e796ff',
    500: '#d864fd',
    950: '#000000',
  },
}
SCSS
$custom: #d864fd;
$custom-light: #e796ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d864fd",
  "rgb": {
    "r": 216,
    "g": 100,
    "b": 253
  },
  "hsl": {
    "h": 285.49,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.23382,
    "h": 317.2
  },
  "luminance": 0.30805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D864FD

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

Preview Lab → · Contrast checker → · Palette generator →

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