#D96DF0#D96DF0

#D96DF0 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.0% C 0.209 H 320.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D96DF0
RGBrgb(217, 109, 240)
HSLhsl(289, 81%, 68%)
HSVhsv(289, 55%, 94%)
CMYKcmyk(9.6%, 54.6%, 0%, 5.9%)
CIE-LABlab(63.33, 61.18, -48.08)
CIE-LCHlch(63.33, 77.81, 321.84°)
OKLaboklab(70.96% 0.161 -0.1335)
OKLCHoklch(70.96% 0.209 320.3)
XYZxyz(49.8102, 31.9824, 85.9707)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DF0 #84F06D
analogous
#976DF0 #D96DF0 #F06DC5
triadic
#D96DF0 #F0D96D #6DF0D9
tetradic
#D96DF0 #F0976D #84F06D #6DC5F0
square
#D96DF0 #F0976D #84F06D #6DC5F0
split-complementary
#D96DF0 #C5F06D #6DF097
monochromatic
#AD15CD #CB36EA #D96DF0 #E7A4F6 #F6DCFB

Accessibility & contrast

On white

2.84
#D96DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D96DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DF0
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DF0#FFFFFF#000000##000000
##D96DF01.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F4
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#DA80A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96df0;
/* rgb */ color: rgb(217, 109, 240);
/* oklch */ color: oklch(71.0% 0.209 320.3);
Tailwind
colors: {
  custom: {
    50: '#e79bf5',
    500: '#d96df0',
    950: '#000000',
  },
}
SCSS
$custom: #d96df0;
$custom-light: #e79bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96df0",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 240
  },
  "hsl": {
    "h": 289.466,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.2092,
    "h": 320.3
  },
  "luminance": 0.3198
}

Semantic roles & 50–950 ramp

primary
#D96DF0
secondary
#D0F0C9
accent
#DE082D
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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