#D863F7#D863F7

#D863F7 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.0% C 0.230 H 318.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D863F7
RGBrgb(216, 99, 247)
HSLhsl(287, 90%, 68%)
HSVhsv(287, 60%, 97%)
CMYKcmyk(12.6%, 59.9%, 0%, 3.1%)
CIE-LABlab(61.86, 66.85, -54.29)
CIE-LCHlch(61.86, 86.12, 320.92°)
OKLaboklab(69.98% 0.1725 -0.1516)
OKLCHoklch(69.98% 0.23 318.7)
XYZxyz(49.5670, 30.2401, 91.2036)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D863F7 #82F763
analogous
#8E63F7 #D863F7 #F763CC
triadic
#D863F7 #F7D863 #63F7D8
tetradic
#D863F7 #F78E63 #82F763 #63CCF7
square
#D863F7 #F78E63 #82F763 #63CCF7
split-complementary
#D863F7 #CCF763 #63F78E
monochromatic
#AA0BD5 #C929F4 #D863F7 #E79DFA #F5D7FD

Accessibility & contrast

On white

2.98
#D863F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D863F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D863F7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D863F7#FFFFFF#000000##000000
##D863F71.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFC
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#D87BA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d863f7;
/* rgb */ color: rgb(216, 99, 247);
/* oklch */ color: oklch(70.0% 0.230 318.7);
Tailwind
colors: {
  custom: {
    50: '#e796fa',
    500: '#d863f7',
    950: '#000000',
  },
}
SCSS
$custom: #d863f7;
$custom-light: #e796fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d863f7",
  "rgb": {
    "r": 216,
    "g": 99,
    "b": 247
  },
  "hsl": {
    "h": 287.432,
    "s": 90.244,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.22964,
    "h": 318.7
  },
  "luminance": 0.30238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D863F7

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

Preview Lab → · Contrast checker → · Palette generator →

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