#D99AEA#D99AEA

#D99AEA is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.4% C 0.130 H 319.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#D99AEA
RGBrgb(217, 154, 234)
HSLhsl(287, 66%, 76%)
HSVhsv(287, 34%, 92%)
CMYKcmyk(7.3%, 34.2%, 0%, 8.2%)
CIE-LABlab(72.10, 36.98, -31.09)
CIE-LCHlch(72.10, 48.31, 319.94°)
OKLaboklab(77.42% 0.0977 -0.085)
OKLCHoklch(77.42% 0.13 319)
XYZxyz(55.0202, 43.8049, 83.3828)
Luminance0.4380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99AEA #ABEA9A
analogous
#B19AEA #D99AEA #EA9AD3
triadic
#D99AEA #EAD99A #9AEAD9
tetradic
#D99AEA #EAB19A #ABEA9A #9AD3EA
square
#D99AEA #EAB19A #ABEA9A #9AD3EA
split-complementary
#D99AEA #D3EA9A #9AEAB1
monochromatic
#B335D5 #C667DF #D99AEA #ECCDF5 #F5E6FA

Accessibility & contrast

On white

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

On black

9.76
#D99AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99AEA
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99AEA#FFFFFF#000000##000000
##D99AEA1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ACED
Deuteranopia (green-blind)
#9FB3E7
Tritanopia (blue-blind)
#DAA3B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d99aea;
/* rgb */ color: rgb(217, 154, 234);
/* oklch */ color: oklch(77.4% 0.130 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6b8f1',
    500: '#d99aea',
    950: '#000000',
  },
}
SCSS
$custom: #d99aea;
$custom-light: #e6b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d99aea",
  "rgb": {
    "r": 217,
    "g": 154,
    "b": 234
  },
  "hsl": {
    "h": 287.25,
    "s": 65.574,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77422,
    "c": 0.12951,
    "h": 319
  },
  "luminance": 0.43803
}

Semantic roles & 50–950 ramp

primary
#D99AEA
secondary
#DFF1DA
accent
#CD183F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D99AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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