#D99AEB#D99AEB

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

Color values

HEX#D99AEB
RGBrgb(217, 154, 235)
HSLhsl(287, 67%, 76%)
HSVhsv(287, 34%, 92%)
CMYKcmyk(7.7%, 34.5%, 0%, 7.8%)
CIE-LABlab(72.14, 37.17, -31.57)
CIE-LCHlch(72.14, 48.77, 319.66°)
OKLaboklab(77.46% 0.0979 -0.0864)
OKLCHoklch(77.46% 0.131 318.6)
XYZxyz(55.1642, 43.8625, 84.1415)
Luminance0.4386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99AEB #ACEB9A
analogous
#B19AEB #D99AEB #EB9AD5
triadic
#D99AEB #EBD99A #9AEBD9
tetradic
#D99AEB #EBB19A #ACEB9A #9AD5EB
square
#D99AEB #EBB19A #ACEB9A #9AD5EB
split-complementary
#D99AEB #D5EB9A #9AEBB1
monochromatic
#B334D7 #C667E1 #D99AEB #ECCDF5 #F5E5FA

Accessibility & contrast

On white

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

On black

9.77
#D99AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99AEB
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99AEB#FFFFFF#000000##000000
##D99AEB1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADEE
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#DAA4B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d99aeb;
/* rgb */ color: rgb(217, 154, 235);
/* oklch */ color: oklch(77.5% 0.131 318.6);
Tailwind
colors: {
  custom: {
    50: '#e6b8f1',
    500: '#d99aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d99aeb;
$custom-light: #e6b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d99aeb",
  "rgb": {
    "r": 217,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 286.667,
    "s": 66.942,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77464,
    "c": 0.13061,
    "h": 318.6
  },
  "luminance": 0.43861
}

Semantic roles & 50–950 ramp

primary
#D99AEB
secondary
#DFF1DA
accent
#CF1740
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D99AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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