#D99DF2#D99DF2

#D99DF2 is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.3% C 0.133 H 315.6°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#D99DF2
RGBrgb(217, 157, 242)
HSLhsl(282, 77%, 78%)
HSVhsv(282, 35%, 95%)
CMYKcmyk(10.3%, 35.1%, 0%, 5.1%)
CIE-LABlab(73.07, 36.96, -33.94)
CIE-LCHlch(73.07, 50.18, 317.44°)
OKLaboklab(78.27% 0.0952 -0.0932)
OKLCHoklch(78.27% 0.133 315.6)
XYZxyz(56.6968, 45.2777, 89.7399)
Luminance0.4528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99DF2 #B6F29D
analogous
#AE9DF2 #D99DF2 #F29DE0
triadic
#D99DF2 #F2D99D #9DF2D9
tetradic
#D99DF2 #F2AE9D #B6F29D #9DE0F2
square
#D99DF2 #F2AE9D #B6F29D #9DE0F2
split-complementary
#D99DF2 #E0F29D #9DF2AE
monochromatic
#AF31E4 #C467EB #D99DF2 #EED3F9 #F5E4FB

Accessibility & contrast

On white

2.09
#D99DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#D99DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99DF2
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99DF2#FFFFFF#000000##000000
##D99DF21.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#D8A8BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99df2;
/* rgb */ color: rgb(217, 157, 242);
/* oklch */ color: oklch(78.3% 0.133 315.6);
Tailwind
colors: {
  custom: {
    50: '#e6baf6',
    500: '#d99df2',
    950: '#000000',
  },
}
SCSS
$custom: #d99df2;
$custom-light: #e6baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d99df2",
  "rgb": {
    "r": 217,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 282.353,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78265,
    "c": 0.13323,
    "h": 315.6
  },
  "luminance": 0.45276
}

Semantic roles & 50–950 ramp

primary
#D99DF2
secondary
#E0F3D8
accent
#D90D49
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #D99DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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