#D99EF4#D99EF4

#D99EF4 is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.5% C 0.134 H 314.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D99EF4
RGBrgb(217, 158, 244)
HSLhsl(281, 80%, 79%)
HSVhsv(281, 35%, 96%)
CMYKcmyk(11.1%, 35.2%, 0%, 4.3%)
CIE-LABlab(73.38, 36.82, -34.56)
CIE-LCHlch(73.38, 50.50, 316.82°)
OKLaboklab(78.52% 0.0943 -0.095)
OKLCHoklch(78.52% 0.134 314.8)
XYZxyz(57.1687, 45.7382, 91.3872)
Luminance0.4574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EF4 #B9F49E
analogous
#AE9EF4 #D99EF4 #F49EE4
triadic
#D99EF4 #F4D99E #9EF4D9
tetradic
#D99EF4 #F4AE9E #B9F49E #9EE4F4
square
#D99EF4 #F4AE9E #B9F49E #9EE4F4
split-complementary
#D99EF4 #E4F49E #9EF4AE
monochromatic
#AE30E8 #C367EE #D99EF4 #EFD5FA #F4E4FC

Accessibility & contrast

On white

2.07
#D99EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#D99EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EF4
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EF4#FFFFFF#000000##000000
##D99EF41.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B1F7
Deuteranopia (green-blind)
#9EB6F1
Tritanopia (blue-blind)
#D8A9BE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d99ef4;
/* rgb */ color: rgb(217, 158, 244);
/* oklch */ color: oklch(78.5% 0.134 314.8);
Tailwind
colors: {
  custom: {
    50: '#e6bbf8',
    500: '#d99ef4',
    950: '#000000',
  },
}
SCSS
$custom: #d99ef4;
$custom-light: #e6bbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ef4",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 244
  },
  "hsl": {
    "h": 281.163,
    "s": 79.63,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78519,
    "c": 0.13379,
    "h": 314.8
  },
  "luminance": 0.45737
}

Semantic roles & 50–950 ramp

primary
#D99EF4
secondary
#E0F4D7
accent
#DC0A4C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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