#D96BF2#D96BF2

#D96BF2 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.8% C 0.214 H 319.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D96BF2
RGBrgb(217, 107, 242)
HSLhsl(289, 84%, 68%)
HSVhsv(289, 56%, 95%)
CMYKcmyk(10.3%, 55.8%, 0%, 5.1%)
CIE-LABlab(63.08, 62.50, -49.58)
CIE-LCHlch(63.08, 79.78, 321.57°)
OKLaboklab(70.81% 0.1637 -0.1379)
OKLCHoklch(70.81% 0.214 319.9)
XYZxyz(49.8980, 31.6800, 87.4737)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BF2 #84F26B
analogous
#956BF2 #D96BF2 #F26BC7
triadic
#D96BF2 #F2D96B #6BF2D9
tetradic
#D96BF2 #F2956B #84F26B #6BC7F2
square
#D96BF2 #F2956B #84F26B #6BC7F2
split-complementary
#D96BF2 #C7F26B #6BF295
monochromatic
#AD12D0 #CB33ED #D96BF2 #E7A3F7 #F6DCFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D96BF2#FFFFFF#000000##000000
##D96BF21.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)
#4F91F6
Deuteranopia (green-blind)
#759DEE
Tritanopia (blue-blind)
#DA7FA5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96bf2;
/* rgb */ color: rgb(217, 107, 242);
/* oklch */ color: oklch(70.8% 0.214 319.9);
Tailwind
colors: {
  custom: {
    50: '#e89af7',
    500: '#d96bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d96bf2;
$custom-light: #e89af7;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bf2",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 288.889,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70812,
    "c": 0.21404,
    "h": 319.9
  },
  "luminance": 0.31678
}

Semantic roles & 50–950 ramp

primary
#D96BF2
secondary
#D0F1C8
accent
#E0052E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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