#D96BE6#D96BE6

#D96BE6 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.2% C 0.203 H 323.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D96BE6
RGBrgb(217, 107, 230)
HSLhsl(294, 71%, 66%)
HSVhsv(294, 53%, 90%)
CMYKcmyk(5.7%, 53.5%, 0%, 9.8%)
CIE-LABlab(62.49, 60.27, -43.84)
CIE-LCHlch(62.49, 74.53, 323.96°)
OKLaboklab(70.19% 0.1627 -0.1213)
OKLCHoklch(70.19% 0.203 323.3)
XYZxyz(48.1545, 30.9827, 78.2913)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BE6 #78E66B
analogous
#9B6BE6 #D96BE6 #E66BB5
triadic
#D96BE6 #E6D96B #6BE6D9
tetradic
#D96BE6 #E69B6B #78E66B #6BB5E6
square
#D96BE6 #E69B6B #78E66B #6BB5E6
split-complementary
#D96BE6 #B5E66B #6BE69B
monochromatic
#A71FB8 #CC37DD #D96BE6 #E69FEF #F4D4F8

Accessibility & contrast

On white

2.92
#D96BE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D96BE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BE6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BE6#FFFFFF#000000##000000
##D96BE61.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEA
Deuteranopia (green-blind)
#7C9CE3
Tritanopia (blue-blind)
#DC7B9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96be6;
/* rgb */ color: rgb(217, 107, 230);
/* oklch */ color: oklch(70.2% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#e79aee',
    500: '#d96be6',
    950: '#000000',
  },
}
SCSS
$custom: #d96be6;
$custom-light: #e79aee;
$custom-dark: #000000;
JSON
{
  "hex": "#d96be6",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 293.659,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70193,
    "c": 0.20288,
    "h": 323.3
  },
  "luminance": 0.3098
}

Semantic roles & 50–950 ramp

primary
#D96BE6
secondary
#C6EBC2
accent
#D31227
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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