#D868F7#D868F7

#D868F7 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.6% C 0.223 H 318.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D868F7
RGBrgb(216, 104, 247)
HSLhsl(287, 90%, 69%)
HSVhsv(287, 58%, 97%)
CMYKcmyk(12.6%, 57.9%, 0%, 3.1%)
CIE-LABlab(62.69, 64.59, -52.97)
CIE-LCHlch(62.69, 83.53, 320.65°)
OKLaboklab(70.58% 0.1665 -0.1477)
OKLCHoklch(70.58% 0.223 318.4)
XYZxyz(50.0554, 31.2170, 91.3664)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D868F7 #87F768
analogous
#9168F7 #D868F7 #F768CF
triadic
#D868F7 #F7D868 #68F7D8
tetradic
#D868F7 #F79168 #87F768 #68CFF7
square
#D868F7 #F79168 #87F768 #68CFF7
split-complementary
#D868F7 #CFF768 #68F791
monochromatic
#AD0CD9 #C92EF4 #D868F7 #E7A2FA #F6DCFD

Accessibility & contrast

On white

2.90
#D868F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#D868F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D868F7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D868F7#FFFFFF#000000##000000
##D868F71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FC
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#D87FA6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d868f7;
/* rgb */ color: rgb(216, 104, 247);
/* oklch */ color: oklch(70.6% 0.223 318.4);
Tailwind
colors: {
  custom: {
    50: '#e798fa',
    500: '#d868f7',
    950: '#000000',
  },
}
SCSS
$custom: #d868f7;
$custom-light: #e798fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d868f7",
  "rgb": {
    "r": 216,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 286.993,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70585,
    "c": 0.22263,
    "h": 318.4
  },
  "luminance": 0.31215
}

Semantic roles & 50–950 ramp

primary
#D868F7
secondary
#D1F3C8
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D868F7

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

Preview Lab → · Contrast checker → · Palette generator →

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