#D96BEB#D96BEB

#D96BEB is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.4% C 0.207 H 321.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D96BEB
RGBrgb(217, 107, 235)
HSLhsl(292, 76%, 67%)
HSVhsv(292, 54%, 92%)
CMYKcmyk(7.7%, 54.5%, 0%, 7.8%)
CIE-LABlab(62.73, 61.19, -46.25)
CIE-LCHlch(62.73, 76.70, 322.92°)
OKLaboklab(70.45% 0.1631 -0.1282)
OKLCHoklch(70.45% 0.208 321.8)
XYZxyz(48.8667, 31.2675, 82.0424)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BEB #7DEB6B
analogous
#996BEB #D96BEB #EB6BBD
triadic
#D96BEB #EBD96B #6BEBD9
tetradic
#D96BEB #EB996B #7DEB6B #6BBDEB
square
#D96BEB #EB996B #7DEB6B #6BBDEB
split-complementary
#D96BEB #BDEB6B #6BEB99
monochromatic
#AA1AC1 #CB35E4 #D96BEB #E7A1F2 #F5D7FA

Accessibility & contrast

On white

2.90
#D96BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D96BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BEB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BEB#FFFFFF#000000##000000
##D96BEB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#DB7DA1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96beb;
/* rgb */ color: rgb(217, 107, 235);
/* oklch */ color: oklch(70.4% 0.207 321.8);
Tailwind
colors: {
  custom: {
    50: '#e79af2',
    500: '#d96beb',
    950: '#000000',
  },
}
SCSS
$custom: #d96beb;
$custom-light: #e79af2;
$custom-dark: #000000;
JSON
{
  "hex": "#d96beb",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 291.563,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70447,
    "c": 0.2075,
    "h": 321.8
  },
  "luminance": 0.31265
}

Semantic roles & 50–950 ramp

primary
#D96BEB
secondary
#CAEDC5
accent
#D80D2A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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