#D99FEE#D99FEE

#D99FEE is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.4% C 0.125 H 316.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#D99FEE
RGBrgb(217, 159, 238)
HSLhsl(284, 70%, 78%)
HSVhsv(284, 33%, 93%)
CMYKcmyk(8.8%, 33.2%, 0%, 6.7%)
CIE-LABlab(73.36, 35.08, -31.31)
CIE-LCHlch(73.36, 47.02, 318.24°)
OKLaboklab(78.43% 0.0914 -0.0857)
OKLCHoklch(78.43% 0.125 316.8)
XYZxyz(56.4438, 45.7223, 86.7243)
Luminance0.4572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FEE #B4EE9F
analogous
#B19FEE #D99FEE #EE9FDB
triadic
#D99FEE #EED99F #9FEED9
tetradic
#D99FEE #EEB19F #B4EE9F #9FDBEE
square
#D99FEE #EEB19F #B4EE9F #9FDBEE
split-complementary
#D99FEE #DBEE9F #9FEEB1
monochromatic
#B037DC #C46BE5 #D99FEE #EED3F7 #F5E5FA

Accessibility & contrast

On white

2.07
#D99FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#D99FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FEE
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FEE#FFFFFF#000000##000000
##D99FEE1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0F1
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#D9A9BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d99fee;
/* rgb */ color: rgb(217, 159, 238);
/* oklch */ color: oklch(78.4% 0.125 316.8);
Tailwind
colors: {
  custom: {
    50: '#e5bcf3',
    500: '#d99fee',
    950: '#000000',
  },
}
SCSS
$custom: #d99fee;
$custom-light: #e5bcf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d99fee",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 284.051,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78434,
    "c": 0.12529,
    "h": 316.8
  },
  "luminance": 0.45721
}

Semantic roles & 50–950 ramp

primary
#D99FEE
secondary
#E0F2D9
accent
#D21446
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D99FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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