#D96EFA#D96EFA

#D96EFA is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.6% C 0.217 H 317.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D96EFA
RGBrgb(217, 110, 250)
HSLhsl(286, 93%, 71%)
HSVhsv(286, 56%, 98%)
CMYKcmyk(13.2%, 56%, 0%, 2%)
CIE-LABlab(64.00, 62.63, -52.53)
CIE-LCHlch(64.00, 81.74, 320.01°)
OKLaboklab(71.62% 0.1605 -0.1465)
OKLCHoklch(71.62% 0.217 317.6)
XYZxyz(51.4441, 32.8076, 94.0466)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EFA #8FFA6E
analogous
#936EFA #D96EFA #FA6ED5
triadic
#D96EFA #FAD96E #6EFAD9
tetradic
#D96EFA #FA936E #8FFA6E #6ED5FA
square
#D96EFA #FA936E #8FFA6E #6ED5FA
split-complementary
#D96EFA #D5FA6E #6EFA93
monochromatic
#B108E6 #C933F8 #D96EFA #E9A9FC #F7E1FE

Accessibility & contrast

On white

2.78
#D96EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#D96EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EFA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EFA#FFFFFF#000000##000000
##D96EFA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#739FF6
Tritanopia (blue-blind)
#D884AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96efa;
/* rgb */ color: rgb(217, 110, 250);
/* oklch */ color: oklch(71.6% 0.217 317.6);
Tailwind
colors: {
  custom: {
    50: '#e89cfc',
    500: '#d96efa',
    950: '#000000',
  },
}
SCSS
$custom: #d96efa;
$custom-light: #e89cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d96efa",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 285.857,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71621,
    "c": 0.21727,
    "h": 317.6
  },
  "luminance": 0.32806
}

Semantic roles & 50–950 ramp

primary
#D96EFA
secondary
#D8F5CF
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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