#D868FC#D868FC

#D868FC is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.9% C 0.227 H 317.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D868FC
RGBrgb(216, 104, 252)
HSLhsl(285, 96%, 70%)
HSVhsv(285, 59%, 99%)
CMYKcmyk(14.3%, 58.7%, 0%, 1.2%)
CIE-LABlab(62.95, 65.56, -55.31)
CIE-LCHlch(62.95, 85.77, 319.85°)
OKLaboklab(70.86% 0.1667 -0.1546)
OKLCHoklch(70.86% 0.227 317.2)
XYZxyz(50.8374, 31.5297, 95.4845)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D868FC #8CFC68
analogous
#8E68FC #D868FC #FC68D6
triadic
#D868FC #FCD868 #68FCD8
tetradic
#D868FC #FC8E68 #8CFC68 #68D6FC
square
#D868FC #FC8E68 #8CFC68 #68D6FC
split-complementary
#D868FC #D6FC68 #68FC8E
monochromatic
#AE05E5 #C92CFB #D868FC #E7A4FD #F7E0FE

Accessibility & contrast

On white

2.87
#D868FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D868FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D868FC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D868FC#FFFFFF#000000##000000
##D868FC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#D781A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d868fc;
/* rgb */ color: rgb(216, 104, 252);
/* oklch */ color: oklch(70.9% 0.227 317.2);
Tailwind
colors: {
  custom: {
    50: '#e799fe',
    500: '#d868fc',
    950: '#000000',
  },
}
SCSS
$custom: #d868fc;
$custom-light: #e799fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d868fc",
  "rgb": {
    "r": 216,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 285.405,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.22735,
    "h": 317.2
  },
  "luminance": 0.31528
}

Semantic roles & 50–950 ramp

primary
#D868FC
secondary
#D5F5CB
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D868FC

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

Preview Lab → · Contrast checker → · Palette generator →

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