#D868EF#D868EF

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

Color values

HEX#D868EF
RGBrgb(216, 104, 239)
HSLhsl(290, 81%, 67%)
HSVhsv(290, 56%, 94%)
CMYKcmyk(9.6%, 56.5%, 0%, 6.3%)
CIE-LABlab(62.28, 63.08, -49.19)
CIE-LCHlch(62.28, 79.99, 322.05°)
OKLaboklab(70.15% 0.1661 -0.1368)
OKLCHoklch(70.15% 0.215 320.5)
XYZxyz(48.8474, 30.7337, 85.0038)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D868EF #7FEF68
analogous
#9568EF #D868EF #EF68C2
triadic
#D868EF #EFD868 #68EFD8
tetradic
#D868EF #EF9568 #7FEF68 #68C2EF
square
#D868EF #EF9568 #7FEF68 #68C2EF
split-complementary
#D868EF #C2EF68 #68EF95
monochromatic
#A915C7 #CA31E9 #D868EF #E69FF5 #F5D7FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D868EF#FFFFFF#000000##000000
##D868EF1.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)
#4D8FF3
Deuteranopia (green-blind)
#749BEB
Tritanopia (blue-blind)
#D97CA2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d868ef;
/* rgb */ color: rgb(216, 104, 239);
/* oklch */ color: oklch(70.2% 0.215 320.5);
Tailwind
colors: {
  custom: {
    50: '#e798f5',
    500: '#d868ef',
    950: '#000000',
  },
}
SCSS
$custom: #d868ef;
$custom-light: #e798f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d868ef",
  "rgb": {
    "r": 216,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 289.778,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.21515,
    "h": 320.5
  },
  "luminance": 0.30732
}

Semantic roles & 50–950 ramp

primary
#D868EF
secondary
#CBEFC4
accent
#DD082D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D868EF

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

Preview Lab → · Contrast checker → · Palette generator →

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