#D99DEE#D99DEE

#D99DEE is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.1% C 0.129 H 317.1°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D99DEE
RGBrgb(217, 157, 238)
HSLhsl(284, 70%, 77%)
HSVhsv(284, 34%, 93%)
CMYKcmyk(8.8%, 34%, 0%, 6.7%)
CIE-LABlab(72.92, 36.15, -32.00)
CIE-LCHlch(72.92, 48.28, 318.49°)
OKLaboklab(78.1% 0.0943 -0.0877)
OKLCHoklch(78.1% 0.129 317.1)
XYZxyz(56.1026, 45.0400, 86.6105)
Luminance0.4504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99DEE #B2EE9D
analogous
#B09DEE #D99DEE #EE9DDB
triadic
#D99DEE #EED99D #9DEED9
tetradic
#D99DEE #EEB09D #B2EE9D #9DDBEE
square
#D99DEE #EEB09D #B2EE9D #9DDBEE
split-complementary
#D99DEE #DBEE9D #9DEEB0
monochromatic
#B135DC #C569E5 #D99DEE #EDD1F7 #F5E5FA

Accessibility & contrast

On white

2.10
#D99DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D99DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99DEE
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99DEE#FFFFFF#000000##000000
##D99DEE1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFF1
Deuteranopia (green-blind)
#A0B5EB
Tritanopia (blue-blind)
#D9A7BB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99dee;
/* rgb */ color: rgb(217, 157, 238);
/* oklch */ color: oklch(78.1% 0.129 317.1);
Tailwind
colors: {
  custom: {
    50: '#e6baf3',
    500: '#d99dee',
    950: '#000000',
  },
}
SCSS
$custom: #d99dee;
$custom-light: #e6baf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d99dee",
  "rgb": {
    "r": 217,
    "g": 157,
    "b": 238
  },
  "hsl": {
    "h": 284.444,
    "s": 70.435,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78095,
    "c": 0.12874,
    "h": 317.1
  },
  "luminance": 0.45039
}

Semantic roles & 50–950 ramp

primary
#D99DEE
secondary
#DFF2D9
accent
#D21345
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D99DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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