#D96FE3#D96FE3

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

Color values

HEX#D96FE3
RGBrgb(217, 111, 227)
HSLhsl(295, 67%, 66%)
HSVhsv(295, 51%, 89%)
CMYKcmyk(4.4%, 51.1%, 0%, 11%)
CIE-LABlab(63.07, 57.81, -41.27)
CIE-LCHlch(63.07, 71.03, 324.48°)
OKLaboklab(70.57% 0.1571 -0.1139)
OKLCHoklch(70.57% 0.194 324.1)
XYZxyz(48.1636, 31.6690, 76.2339)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FE3 #79E36F
analogous
#9F6FE3 #D96FE3 #E36FB3
triadic
#D96FE3 #E3D96F #6FE3D9
tetradic
#D96FE3 #E39F6F #79E36F #6FB3E3
square
#D96FE3 #E39F6F #79E36F #6FB3E3
split-complementary
#D96FE3 #B3E36F #6FE39F
monochromatic
#A823B5 #CB3CD9 #D96FE3 #E7A2ED #F4D5F7

Accessibility & contrast

On white

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

On black

7.33
#D96FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FE3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FE3#FFFFFF#000000##000000
##D96FE31.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d96fe3;
/* rgb */ color: rgb(217, 111, 227);
/* oklch */ color: oklch(70.6% 0.194 324.1);
Tailwind
colors: {
  custom: {
    50: '#e79cec',
    500: '#d96fe3',
    950: '#000000',
  },
}
SCSS
$custom: #d96fe3;
$custom-light: #e79cec;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fe3",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 227
  },
  "hsl": {
    "h": 294.828,
    "s": 67.442,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70571,
    "c": 0.19398,
    "h": 324.1
  },
  "luminance": 0.31667
}

Semantic roles & 50–950 ramp

primary
#D96FE3
secondary
#C7EAC4
accent
#CF1626
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D96FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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