#D96EF2#D96EF2

#D96EF2 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.2% C 0.210 H 319.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D96EF2
RGBrgb(217, 110, 242)
HSLhsl(289, 84%, 69%)
HSVhsv(289, 55%, 95%)
CMYKcmyk(10.3%, 54.5%, 0%, 5.1%)
CIE-LABlab(63.60, 61.09, -48.75)
CIE-LCHlch(63.60, 78.16, 321.41°)
OKLaboklab(71.2% 0.1599 -0.1355)
OKLCHoklch(71.2% 0.21 319.7)
XYZxyz(50.2162, 32.3165, 87.5797)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EF2 #87F26E
analogous
#976EF2 #D96EF2 #F26EC9
triadic
#D96EF2 #F2D96E #6EF2D9
tetradic
#D96EF2 #F2976E #87F26E #6EC9F2
square
#D96EF2 #F2976E #87F26E #6EC9F2
split-complementary
#D96EF2 #C9F26E #6EF297
monochromatic
#AE13D3 #CA36ED #D96EF2 #E8A6F7 #F6DEFC

Accessibility & contrast

On white

2.81
#D96EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D96EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EF2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EF2#FFFFFF#000000##000000
##D96EF21.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#DA82A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96ef2;
/* rgb */ color: rgb(217, 110, 242);
/* oklch */ color: oklch(71.2% 0.210 319.7);
Tailwind
colors: {
  custom: {
    50: '#e79cf7',
    500: '#d96ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d96ef2;
$custom-light: #e79cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ef2",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 288.636,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71197,
    "c": 0.2096,
    "h": 319.7
  },
  "luminance": 0.32314
}

Semantic roles & 50–950 ramp

primary
#D96EF2
secondary
#D2F1CB
accent
#E0062F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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