#D99CEE#D99CEE

#D99CEE is a light, vivid purple. Relative luminance 0.447; OKLCH L 77.9% C 0.130 H 317.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#D99CEE
RGBrgb(217, 156, 238)
HSLhsl(285, 71%, 77%)
HSVhsv(285, 34%, 93%)
CMYKcmyk(8.8%, 34.5%, 0%, 6.7%)
CIE-LABlab(72.70, 36.69, -32.35)
CIE-LCHlch(72.70, 48.91, 318.60°)
OKLaboklab(77.93% 0.0957 -0.0886)
OKLCHoklch(77.93% 0.13 317.2)
XYZxyz(55.9341, 44.7030, 86.5544)
Luminance0.4470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CEE #B1EE9C
analogous
#B09CEE #D99CEE #EE9CDA
triadic
#D99CEE #EED99C #9CEED9
tetradic
#D99CEE #EEB09C #B1EE9C #9CDAEE
square
#D99CEE #EEB09C #B1EE9C #9CDAEE
split-complementary
#D99CEE #DAEE9C #9CEEB0
monochromatic
#B134DC #C568E5 #D99CEE #EDD0F7 #F5E5FB

Accessibility & contrast

On white

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

On black

9.94
#D99CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CEE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CEE#FFFFFF#000000##000000
##D99CEE1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#9FB4EB
Tritanopia (blue-blind)
#D9A6BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99cee;
/* rgb */ color: rgb(217, 156, 238);
/* oklch */ color: oklch(77.9% 0.130 317.2);
Tailwind
colors: {
  custom: {
    50: '#e6baf3',
    500: '#d99cee',
    950: '#000000',
  },
}
SCSS
$custom: #d99cee;
$custom-light: #e6baf3;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cee",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 238
  },
  "hsl": {
    "h": 284.634,
    "s": 70.69,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77926,
    "c": 0.13047,
    "h": 317.2
  },
  "luminance": 0.44702
}

Semantic roles & 50–950 ramp

primary
#D99CEE
secondary
#DFF2D9
accent
#D31344
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D99CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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