#D96FE4#D96FE4

#D96FE4 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.6% C 0.195 H 323.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D96FE4
RGBrgb(217, 111, 228)
HSLhsl(294, 68%, 66%)
HSVhsv(294, 51%, 89%)
CMYKcmyk(4.8%, 51.3%, 0%, 10.6%)
CIE-LABlab(63.11, 57.99, -41.75)
CIE-LCHlch(63.11, 71.46, 324.25°)
OKLaboklab(70.62% 0.1572 -0.1153)
OKLCHoklch(70.62% 0.195 323.7)
XYZxyz(48.3020, 31.7244, 76.9629)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FE4 #7AE46F
analogous
#9F6FE4 #D96FE4 #E46FB5
triadic
#D96FE4 #E4D96F #6FE4D9
tetradic
#D96FE4 #E49F6F #7AE46F #6FB5E4
square
#D96FE4 #E49F6F #7AE46F #6FB5E4
split-complementary
#D96FE4 #B5E46F #6FE49F
monochromatic
#A822B6 #CB3BDA #D96FE4 #E7A3EE #F4D6F7

Accessibility & contrast

On white

2.86
#D96FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D96FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FE4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FE4#FFFFFF#000000##000000
##D96FE41.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E8
Deuteranopia (green-blind)
#809DE1
Tritanopia (blue-blind)
#DD7E9F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96fe4;
/* rgb */ color: rgb(217, 111, 228);
/* oklch */ color: oklch(70.6% 0.195 323.7);
Tailwind
colors: {
  custom: {
    50: '#e79ced',
    500: '#d96fe4',
    950: '#000000',
  },
}
SCSS
$custom: #d96fe4;
$custom-light: #e79ced;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fe4",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 294.359,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7062,
    "c": 0.19491,
    "h": 323.7
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#D96FE4
secondary
#C8EAC4
accent
#D01527
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D96FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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