#D864FC#D864FC

#D864FC is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.4% C 0.233 H 317.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D864FC
RGBrgb(216, 100, 252)
HSLhsl(286, 96%, 69%)
HSVhsv(286, 60%, 99%)
CMYKcmyk(14.3%, 60.3%, 0%, 1.2%)
CIE-LABlab(62.29, 67.36, -56.36)
CIE-LCHlch(62.29, 87.83, 320.08°)
OKLaboklab(70.38% 0.1714 -0.1576)
OKLCHoklch(70.38% 0.233 317.4)
XYZxyz(50.4442, 30.7435, 95.3535)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D864FC #88FC64
analogous
#8C64FC #D864FC #FC64D4
triadic
#D864FC #FCD864 #64FCD8
tetradic
#D864FC #FC8C64 #88FC64 #64D4FC
square
#D864FC #FC8C64 #88FC64 #64D4FC
split-complementary
#D864FC #D4FC64 #64FC8C
monochromatic
#AD04E1 #C928FB #D864FC #E7A0FD #F6DCFE

Accessibility & contrast

On white

2.94
#D864FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D864FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D864FC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D864FC#FFFFFF#000000##000000
##D864FC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#D77EA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d864fc;
/* rgb */ color: rgb(216, 100, 252);
/* oklch */ color: oklch(70.4% 0.233 317.4);
Tailwind
colors: {
  custom: {
    50: '#e796fe',
    500: '#d864fc',
    950: '#000000',
  },
}
SCSS
$custom: #d864fc;
$custom-light: #e796fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d864fc",
  "rgb": {
    "r": 216,
    "g": 100,
    "b": 252
  },
  "hsl": {
    "h": 285.789,
    "s": 96.203,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70379,
    "c": 0.23289,
    "h": 317.4
  },
  "luminance": 0.30742
}

Semantic roles & 50–950 ramp

primary
#D864FC
secondary
#D2F4C8
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D864FC

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

Preview Lab → · Contrast checker → · Palette generator →

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