#D96FE2#D96FE2

#D96FE2 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.5% C 0.193 H 324.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#D96FE2
RGBrgb(217, 111, 226)
HSLhsl(295, 66%, 66%)
HSVhsv(295, 51%, 89%)
CMYKcmyk(4%, 50.9%, 0%, 11.4%)
CIE-LABlab(63.02, 57.63, -40.78)
CIE-LCHlch(63.02, 70.60, 324.71°)
OKLaboklab(70.52% 0.1569 -0.1125)
OKLCHoklch(70.52% 0.193 324.4)
XYZxyz(48.0260, 31.6140, 75.5092)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FE2 #78E26F
analogous
#9F6FE2 #D96FE2 #E26FB1
triadic
#D96FE2 #E2D96F #6FE2D9
tetradic
#D96FE2 #E29F6F #78E26F #6FB1E2
square
#D96FE2 #E29F6F #78E26F #6FB1E2
split-complementary
#D96FE2 #B1E26F #6FE29F
monochromatic
#A724B3 #CC3CD8 #D96FE2 #E6A2EC #F4D5F7

Accessibility & contrast

On white

2.87
#D96FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#D96FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FE2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FE2#FFFFFF#000000##000000
##D96FE21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#DD7D9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96fe2;
/* rgb */ color: rgb(217, 111, 226);
/* oklch */ color: oklch(70.5% 0.193 324.4);
Tailwind
colors: {
  custom: {
    50: '#e79ceb',
    500: '#d96fe2',
    950: '#000000',
  },
}
SCSS
$custom: #d96fe2;
$custom-light: #e79ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fe2",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 295.304,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70522,
    "c": 0.19306,
    "h": 324.4
  },
  "luminance": 0.31612
}

Semantic roles & 50–950 ramp

primary
#D96FE2
secondary
#C6E9C4
accent
#CE1725
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D96FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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