#D99AEC#D99AEC

#D99AEC is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.5% C 0.132 H 318.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#D99AEC
RGBrgb(217, 154, 236)
HSLhsl(286, 68%, 76%)
HSVhsv(286, 35%, 93%)
CMYKcmyk(8.1%, 34.7%, 0%, 7.5%)
CIE-LABlab(72.18, 37.37, -32.06)
CIE-LCHlch(72.18, 49.24, 319.37°)
OKLaboklab(77.51% 0.0982 -0.0878)
OKLCHoklch(77.51% 0.132 318.2)
XYZxyz(55.3091, 43.9205, 84.9045)
Luminance0.4392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99AEC #ADEC9A
analogous
#B09AEC #D99AEC #EC9AD6
triadic
#D99AEC #ECD99A #9AECD9
tetradic
#D99AEC #ECB09A #ADEC9A #9AD6EC
square
#D99AEC #ECB09A #ADEC9A #9AD6EC
split-complementary
#D99AEC #D6EC9A #9AECB0
monochromatic
#B233D9 #C666E2 #D99AEC #ECCEF6 #F5E5FA

Accessibility & contrast

On white

2.15
#D99AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#D99AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99AEC
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99AEC#FFFFFF#000000##000000
##D99AEC1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEF
Deuteranopia (green-blind)
#9EB3E9
Tritanopia (blue-blind)
#D9A4B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d99aec;
/* rgb */ color: rgb(217, 154, 236);
/* oklch */ color: oklch(77.5% 0.132 318.2);
Tailwind
colors: {
  custom: {
    50: '#e6b8f2',
    500: '#d99aec',
    950: '#000000',
  },
}
SCSS
$custom: #d99aec;
$custom-light: #e6b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d99aec",
  "rgb": {
    "r": 217,
    "g": 154,
    "b": 236
  },
  "hsl": {
    "h": 286.098,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77506,
    "c": 0.1317,
    "h": 318.2
  },
  "luminance": 0.43919
}

Semantic roles & 50–950 ramp

primary
#D99AEC
secondary
#DFF2D9
accent
#D01541
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D99AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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