#D96BE1#D96BE1

#D96BE1 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.9% C 0.198 H 324.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D96BE1
RGBrgb(217, 107, 225)
HSLhsl(296, 66%, 65%)
HSVhsv(296, 52%, 88%)
CMYKcmyk(3.6%, 52.4%, 0%, 11.8%)
CIE-LABlab(62.26, 59.36, -41.42)
CIE-LCHlch(62.26, 72.38, 325.09°)
OKLaboklab(69.94% 0.1621 -0.1143)
OKLCHoklch(69.94% 0.198 324.8)
XYZxyz(47.4624, 30.7058, 74.6464)
Luminance0.3070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BE1 #73E16B
analogous
#9E6BE1 #D96BE1 #E16BAE
triadic
#D96BE1 #E1D96B #6BE1D9
tetradic
#D96BE1 #E19E6B #73E16B #6BAEE1
square
#D96BE1 #E19E6B #73E16B #6BAEE1
split-complementary
#D96BE1 #AEE16B #6BE19E
monochromatic
#A523AE #CC38D7 #D96BE1 #E69EEB #F3D1F6

Accessibility & contrast

On white

2.94
#D96BE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D96BE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BE1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BE1#FFFFFF#000000##000000
##D96BE11.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE5
Deuteranopia (green-blind)
#7E9BDE
Tritanopia (blue-blind)
#DD7A9C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d96be1;
/* rgb */ color: rgb(217, 107, 225);
/* oklch */ color: oklch(69.9% 0.198 324.8);
Tailwind
colors: {
  custom: {
    50: '#e79aeb',
    500: '#d96be1',
    950: '#000000',
  },
}
SCSS
$custom: #d96be1;
$custom-light: #e79aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96be1",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 225
  },
  "hsl": {
    "h": 295.932,
    "s": 66.292,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69944,
    "c": 0.19833,
    "h": 324.8
  },
  "luminance": 0.30703
}

Semantic roles & 50–950 ramp

primary
#D96BE1
secondary
#C3E8C0
accent
#CE1724
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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