#D864FB#D864FB

#D864FB is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.3% C 0.232 H 317.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D864FB
RGBrgb(216, 100, 251)
HSLhsl(286, 95%, 69%)
HSVhsv(286, 60%, 98%)
CMYKcmyk(13.9%, 60.2%, 0%, 1.6%)
CIE-LABlab(62.24, 67.17, -55.90)
CIE-LCHlch(62.24, 87.39, 320.23°)
OKLaboklab(70.32% 0.1714 -0.1563)
OKLCHoklch(70.32% 0.232 317.6)
XYZxyz(50.2862, 30.6803, 94.5211)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D864FB #87FB64
analogous
#8D64FB #D864FB #FB64D3
triadic
#D864FB #FBD864 #64FBD8
tetradic
#D864FB #FB8D64 #87FB64 #64D3FB
square
#D864FB #FB8D64 #87FB64 #64D3FB
split-complementary
#D864FB #D3FB64 #64FB8D
monochromatic
#AD06DF #C928F9 #D864FB #E7A0FD #F6DBFE

Accessibility & contrast

On white

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

On black

7.14
#D864FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D864FB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D864FB#FFFFFF#000000##000000
##D864FB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#D77EA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d864fb;
/* rgb */ color: rgb(216, 100, 251);
/* oklch */ color: oklch(70.3% 0.232 317.6);
Tailwind
colors: {
  custom: {
    50: '#e796fd',
    500: '#d864fb',
    950: '#000000',
  },
}
SCSS
$custom: #d864fb;
$custom-light: #e796fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d864fb",
  "rgb": {
    "r": 216,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 286.093,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70323,
    "c": 0.23197,
    "h": 317.6
  },
  "luminance": 0.30678
}

Semantic roles & 50–950 ramp

primary
#D864FB
secondary
#D1F4C7
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D864FB

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

Preview Lab → · Contrast checker → · Palette generator →

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