#D99FEB#D99FEB

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

Color values

HEX#D99FEB
RGBrgb(217, 159, 235)
HSLhsl(286, 66%, 77%)
HSVhsv(286, 32%, 92%)
CMYKcmyk(7.7%, 32.3%, 0%, 7.8%)
CIE-LABlab(73.25, 34.48, -29.86)
CIE-LCHlch(73.25, 45.61, 319.11°)
OKLaboklab(78.31% 0.0906 -0.0816)
OKLCHoklch(78.31% 0.122 318)
XYZxyz(56.0067, 45.5475, 84.4224)
Luminance0.4555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FEB #B1EB9F
analogous
#B39FEB #D99FEB #EB9FD7
triadic
#D99FEB #EBD99F #9FEBD9
tetradic
#D99FEB #EBB39F #B1EB9F #9FD7EB
square
#D99FEB #EBB39F #B1EB9F #9FD7EB
split-complementary
#D99FEB #D7EB9F #9FEBB3
monochromatic
#B13AD6 #C56CE0 #D99FEB #EDD2F6 #F5E6FA

Accessibility & contrast

On white

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

On black

10.11
#D99FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FEB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FEB#FFFFFF#000000##000000
##D99FEB1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#D9A8BB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d99feb;
/* rgb */ color: rgb(217, 159, 235);
/* oklch */ color: oklch(78.3% 0.122 318.0);
Tailwind
colors: {
  custom: {
    50: '#e5bcf1',
    500: '#d99feb',
    950: '#000000',
  },
}
SCSS
$custom: #d99feb;
$custom-light: #e5bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d99feb",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 285.789,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7831,
    "c": 0.12195,
    "h": 318
  },
  "luminance": 0.45546
}

Semantic roles & 50–950 ramp

primary
#D99FEB
secondary
#DFF1DA
accent
#CD1843
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D99FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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