#D96EF0#D96EF0

#D96EF0 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.1% C 0.208 H 320.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D96EF0
RGBrgb(217, 110, 240)
HSLhsl(289, 81%, 69%)
HSVhsv(289, 54%, 94%)
CMYKcmyk(9.6%, 54.2%, 0%, 5.9%)
CIE-LABlab(63.51, 60.71, -47.80)
CIE-LCHlch(63.51, 77.27, 321.78°)
OKLaboklab(71.09% 0.1597 -0.1327)
OKLCHoklch(71.09% 0.208 320.3)
XYZxyz(49.9175, 32.1970, 86.0064)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EF0 #85F06E
analogous
#986EF0 #D96EF0 #F06EC6
triadic
#D96EF0 #F0D96E #6EF0D9
tetradic
#D96EF0 #F0986E #85F06E #6EC6F0
square
#D96EF0 #F0986E #85F06E #6EC6F0
split-complementary
#D96EF0 #C6F06E #6EF098
monochromatic
#AE15CE #CA37EA #D96EF0 #E8A5F6 #F6DDFB

Accessibility & contrast

On white

2.82
#D96EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D96EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EF0
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EF0#FFFFFF#000000##000000
##D96EF01.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F4
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#DA81A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96ef0;
/* rgb */ color: rgb(217, 110, 240);
/* oklch */ color: oklch(71.1% 0.208 320.3);
Tailwind
colors: {
  custom: {
    50: '#e79cf5',
    500: '#d96ef0',
    950: '#000000',
  },
}
SCSS
$custom: #d96ef0;
$custom-light: #e79cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ef0",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 240
  },
  "hsl": {
    "h": 289.385,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.20769,
    "h": 320.3
  },
  "luminance": 0.32195
}

Semantic roles & 50–950 ramp

primary
#D96EF0
secondary
#D0F0CA
accent
#DE082E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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