#D99FEA#D99FEA

#D99FEA is a light, vivid purple. Relative luminance 0.455; OKLCH L 78.3% C 0.121 H 318.4°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D99FEA
RGBrgb(217, 159, 234)
HSLhsl(286, 64%, 77%)
HSVhsv(286, 32%, 92%)
CMYKcmyk(7.3%, 32.1%, 0%, 8.2%)
CIE-LABlab(73.21, 34.28, -29.37)
CIE-LCHlch(73.21, 45.14, 319.42°)
OKLaboklab(78.27% 0.0904 -0.0802)
OKLCHoklch(78.27% 0.121 318.4)
XYZxyz(55.8626, 45.4898, 83.6636)
Luminance0.4549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FEA #B0EA9F
analogous
#B49FEA #D99FEA #EA9FD6
triadic
#D99FEA #EAD99F #9FEAD9
tetradic
#D99FEA #EAB49F #B0EA9F #9FD6EA
square
#D99FEA #EAB49F #B0EA9F #9FD6EA
split-complementary
#D99FEA #D6EA9F #9FEAB4
monochromatic
#B13BD4 #C56DDF #D99FEA #EDD1F5 #F5E6FA

Accessibility & contrast

On white

2.08
#D99FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D99FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FEA
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FEA#FFFFFF#000000##000000
##D99FEA1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#A3B6E8
Tritanopia (blue-blind)
#D9A8BA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d99fea;
/* rgb */ color: rgb(217, 159, 234);
/* oklch */ color: oklch(78.3% 0.121 318.4);
Tailwind
colors: {
  custom: {
    50: '#e5bcf1',
    500: '#d99fea',
    950: '#000000',
  },
}
SCSS
$custom: #d99fea;
$custom-light: #e5bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d99fea",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 234
  },
  "hsl": {
    "h": 286.4,
    "s": 64.103,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78269,
    "c": 0.12084,
    "h": 318.4
  },
  "luminance": 0.45489
}

Semantic roles & 50–950 ramp

primary
#D99FEA
secondary
#DFF1DA
accent
#CC1A42
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D99FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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