#D96CF8#D96CF8

#D96CF8 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.3% C 0.218 H 318.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D96CF8
RGBrgb(217, 108, 248)
HSLhsl(287, 91%, 70%)
HSVhsv(287, 56%, 97%)
CMYKcmyk(12.5%, 56.5%, 0%, 2.7%)
CIE-LABlab(63.55, 63.18, -52.14)
CIE-LCHlch(63.55, 81.92, 320.47°)
OKLaboklab(71.26% 0.1628 -0.1453)
OKLCHoklch(71.26% 0.218 318.2)
XYZxyz(50.9188, 32.2561, 92.3326)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CF8 #8BF86C
analogous
#936CF8 #D96CF8 #F86CD1
triadic
#D96CF8 #F8D96C #6CF8D9
tetradic
#D96CF8 #F8936C #8BF86C #6CD1F8
square
#D96CF8 #F8936C #8BF86C #6CD1F8
split-complementary
#D96CF8 #D1F86C #6CF893
monochromatic
#B00BDF #CA32F5 #D96CF8 #E8A6FB #F7E1FE

Accessibility & contrast

On white

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

On black

7.45
#D96CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CF8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CF8#FFFFFF#000000##000000
##D96CF81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FC
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#D982A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96cf8;
/* rgb */ color: rgb(217, 108, 248);
/* oklch */ color: oklch(71.3% 0.218 318.2);
Tailwind
colors: {
  custom: {
    50: '#e89bfb',
    500: '#d96cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d96cf8;
$custom-light: #e89bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cf8",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 286.714,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71259,
    "c": 0.21827,
    "h": 318.2
  },
  "luminance": 0.32254
}

Semantic roles & 50–950 ramp

primary
#D96CF8
secondary
#D5F4CC
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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