#D864F7#D864F7

#D864F7 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.1% C 0.228 H 318.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D864F7
RGBrgb(216, 100, 247)
HSLhsl(287, 90%, 68%)
HSVhsv(287, 60%, 97%)
CMYKcmyk(12.6%, 59.5%, 0%, 3.1%)
CIE-LABlab(62.02, 66.41, -54.03)
CIE-LCHlch(62.02, 85.61, 320.87°)
OKLaboklab(70.1% 0.1713 -0.1508)
OKLCHoklch(70.1% 0.228 318.6)
XYZxyz(49.6623, 30.4307, 91.2354)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D864F7 #83F764
analogous
#8E64F7 #D864F7 #F764CC
triadic
#D864F7 #F7D864 #64F7D8
tetradic
#D864F7 #F78E64 #83F764 #64CCF7
square
#D864F7 #F78E64 #83F764 #64CCF7
split-complementary
#D864F7 #CCF764 #64F78E
monochromatic
#AB0BD6 #C92AF4 #D864F7 #E79EFA #F5D8FD

Accessibility & contrast

On white

2.96
#D864F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D864F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D864F7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D864F7#FFFFFF#000000##000000
##D864F71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFC
Deuteranopia (green-blind)
#6C9AF3
Tritanopia (blue-blind)
#D87CA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d864f7;
/* rgb */ color: rgb(216, 100, 247);
/* oklch */ color: oklch(70.1% 0.228 318.6);
Tailwind
colors: {
  custom: {
    50: '#e796fa',
    500: '#d864f7',
    950: '#000000',
  },
}
SCSS
$custom: #d864f7;
$custom-light: #e796fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d864f7",
  "rgb": {
    "r": 216,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 287.347,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.701,
    "c": 0.22825,
    "h": 318.6
  },
  "luminance": 0.30429
}

Semantic roles & 50–950 ramp

primary
#D864F7
secondary
#CEF2C5
accent
#E60030
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D864F7

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

Preview Lab → · Contrast checker → · Palette generator →

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