#D99DEB#D99DEB

#D99DEB is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.0% C 0.125 H 318.2°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#D99DEB
RGBrgb(217, 157, 235)
HSLhsl(286, 66%, 77%)
HSVhsv(286, 33%, 92%)
CMYKcmyk(7.7%, 33.2%, 0%, 7.8%)
CIE-LABlab(72.80, 35.56, -30.55)
CIE-LCHlch(72.80, 46.88, 319.34°)
OKLaboklab(77.97% 0.0935 -0.0835)
OKLCHoklch(77.97% 0.125 318.2)
XYZxyz(55.6656, 44.8652, 84.3086)
Luminance0.4486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99DEB #AFEB9D
analogous
#B29DEB #D99DEB #EB9DD6
triadic
#D99DEB #EBD99D #9DEBD9
tetradic
#D99DEB #EBB29D #AFEB9D #9DD6EB
square
#D99DEB #EBB29D #AFEB9D #9DD6EB
split-complementary
#D99DEB #D6EB9D #9DEBB2
monochromatic
#B237D6 #C56AE1 #D99DEB #EDD0F5 #F5E6FA

Accessibility & contrast

On white

2.11
#D99DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#D99DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99DEB
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99DEB#FFFFFF#000000##000000
##D99DEB1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#D9A6BA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99deb;
/* rgb */ color: rgb(217, 157, 235);
/* oklch */ color: oklch(78.0% 0.125 318.2);
Tailwind
colors: {
  custom: {
    50: '#e5baf1',
    500: '#d99deb',
    950: '#000000',
  },
}
SCSS
$custom: #d99deb;
$custom-light: #e5baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d99deb",
  "rgb": {
    "r": 217,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 286.154,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7797,
    "c": 0.12541,
    "h": 318.2
  },
  "luminance": 0.44864
}

Semantic roles & 50–950 ramp

primary
#D99DEB
secondary
#DFF1DA
accent
#CE1842
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D99DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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