#D99FDF#D99FDF

#D99FDF is a light, moderate purple. Relative luminance 0.449; OKLCH L 77.8% C 0.109 H 323.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#D99FDF
RGBrgb(217, 159, 223)
HSLhsl(294, 50%, 75%)
HSVhsv(294, 29%, 87%)
CMYKcmyk(2.7%, 28.7%, 0%, 12.5%)
CIE-LABlab(72.81, 32.15, -23.98)
CIE-LCHlch(72.81, 40.11, 323.29°)
OKLaboklab(77.83% 0.0875 -0.065)
OKLCHoklch(77.83% 0.109 323.4)
XYZxyz(54.3312, 44.8773, 75.5979)
Luminance0.4488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FDF #A5DF9F
analogous
#B99FDF #D99FDF #DF9FC5
triadic
#D99FDF #DFD99F #9FDFD9
tetradic
#D99FDF #DFB99F #A5DF9F #9FC5DF
square
#D99FDF #DFB99F #A5DF9F #9FC5DF
split-complementary
#D99FDF #C5DF9F #9FDFB9
monochromatic
#B543C0 #C771D0 #D99FDF #EBCDEE #F6E8F7

Accessibility & contrast

On white

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

On black

9.98
#D99FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FDF
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FDF#FFFFFF#000000##000000
##D99FDF1.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AEE2
Deuteranopia (green-blind)
#A7B5DD
Tritanopia (blue-blind)
#DCA5B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99fdf;
/* rgb */ color: rgb(217, 159, 223);
/* oklch */ color: oklch(77.8% 0.109 323.4);
Tailwind
colors: {
  custom: {
    50: '#e5bce9',
    500: '#d99fdf',
    950: '#000000',
  },
}
SCSS
$custom: #d99fdf;
$custom-light: #e5bce9;
$custom-dark: #000000;
JSON
{
  "hex": "#d99fdf",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 223
  },
  "hsl": {
    "h": 294.375,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7783,
    "c": 0.10897,
    "h": 323.4
  },
  "luminance": 0.44876
}

Semantic roles & 50–950 ramp

primary
#D99FDF
secondary
#DEEEDD
accent
#BD2836
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D99FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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