#D96EFE#D96EFE

#D96EFE is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.8% C 0.221 H 316.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D96EFE
RGBrgb(217, 110, 254)
HSLhsl(285, 99%, 71%)
HSVhsv(285, 57%, 100%)
CMYKcmyk(14.6%, 56.7%, 0%, 0.4%)
CIE-LABlab(64.21, 63.41, -54.40)
CIE-LCHlch(64.21, 83.55, 319.37°)
OKLaboklab(71.84% 0.1607 -0.1519)
OKLCHoklch(71.84% 0.221 316.6)
XYZxyz(52.0779, 33.0612, 97.3849)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EFE #93FE6E
analogous
#916EFE #D96EFE #FE6EDB
triadic
#D96EFE #FED96E #6EFED9
tetradic
#D96EFE #FE916E #93FE6E #6EDBFE
square
#D96EFE #FE916E #93FE6E #6EDBFE
split-complementary
#D96EFE #DBFE6E #6EFE91
monochromatic
#B302F0 #C931FE #D96EFE #E9ABFE #F7E1FF

Accessibility & contrast

On white

2.76
#D96EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D96EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EFE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EFE#FFFFFF#000000##000000
##D96EFE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#D786AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d96efe;
/* rgb */ color: rgb(217, 110, 254);
/* oklch */ color: oklch(71.8% 0.221 316.6);
Tailwind
colors: {
  custom: {
    50: '#e89cff',
    500: '#d96efe',
    950: '#000000',
  },
}
SCSS
$custom: #d96efe;
$custom-light: #e89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96efe",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 284.583,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.22113,
    "h": 316.6
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

primary
#D96EFE
secondary
#DBF7D1
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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