#D96FF2#D96FF2

#D96FF2 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.3% C 0.208 H 319.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D96FF2
RGBrgb(217, 111, 242)
HSLhsl(289, 83%, 69%)
HSVhsv(289, 54%, 95%)
CMYKcmyk(10.3%, 54.1%, 0%, 5.1%)
CIE-LABlab(63.78, 60.61, -48.47)
CIE-LCHlch(63.78, 77.61, 321.35°)
OKLaboklab(71.33% 0.1586 -0.1347)
OKLCHoklch(71.33% 0.208 319.7)
XYZxyz(50.3247, 32.5335, 87.6159)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FF2 #88F26F
analogous
#986FF2 #D96FF2 #F26FC9
triadic
#D96FF2 #F2D96F #6FF2D9
tetradic
#D96FF2 #F2986F #88F26F #6FC9F2
square
#D96FF2 #F2986F #88F26F #6FC9F2
split-complementary
#D96FF2 #C9F26F #6FF298
monochromatic
#AF13D4 #CA37ED #D96FF2 #E8A7F7 #F7DFFC

Accessibility & contrast

On white

2.80
#D96FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D96FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FF2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FF2#FFFFFF#000000##000000
##D96FF21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d96ff2;
/* rgb */ color: rgb(217, 111, 242);
/* oklch */ color: oklch(71.3% 0.208 319.7);
Tailwind
colors: {
  custom: {
    50: '#e79df7',
    500: '#d96ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d96ff2;
$custom-light: #e79df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ff2",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 288.55,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71328,
    "c": 0.2081,
    "h": 319.7
  },
  "luminance": 0.32531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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