#D99DFE#D99DFE

#D99DFE is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.8% C 0.147 H 311.7°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D99DFE
RGBrgb(217, 157, 254)
HSLhsl(277, 98%, 81%)
HSVhsv(277, 38%, 100%)
CMYKcmyk(14.6%, 38.2%, 0%, 0.4%)
CIE-LABlab(73.56, 39.42, -39.70)
CIE-LCHlch(73.56, 55.94, 314.80°)
OKLaboklab(78.79% 0.0978 -0.1096)
OKLCHoklch(78.79% 0.147 311.7)
XYZxyz(58.5585, 46.0224, 99.5451)
Luminance0.4602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99DFE #C2FE9D
analogous
#A89DFE #D99DFE #FE9DF3
triadic
#D99DFE #FED99D #9DFED9
tetradic
#D99DFE #FEA89D #C2FE9D #9DF3FE
square
#D99DFE #FEA89D #C2FE9D #9DF3FE
split-complementary
#D99DFE #F3FE9D #9DFEA8
monochromatic
#AA24FD #C260FD #D99DFE #F0DAFF #F3E1FF

Accessibility & contrast

On white

2.06
#D99DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#D99DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99DFE
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99DFE#FFFFFF#000000##000000
##D99DFE1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#D5ABC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99dfe;
/* rgb */ color: rgb(217, 157, 254);
/* oklch */ color: oklch(78.8% 0.147 311.7);
Tailwind
colors: {
  custom: {
    50: '#e6bbff',
    500: '#d99dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d99dfe;
$custom-light: #e6bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#d99dfe",
  "rgb": {
    "r": 217,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 277.113,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78792,
    "c": 0.14695,
    "h": 311.7
  },
  "luminance": 0.46021
}

Semantic roles & 50–950 ramp

primary
#D99DFE
secondary
#E1F7D4
accent
#E60058
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D99DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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