#D99EFD#D99EFD

#D99EFD is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.9% C 0.144 H 311.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D99EFD
RGBrgb(217, 158, 253)
HSLhsl(277, 96%, 81%)
HSVhsv(277, 38%, 99%)
CMYKcmyk(14.2%, 37.5%, 0%, 0.8%)
CIE-LABlab(73.74, 38.68, -38.88)
CIE-LCHlch(73.74, 54.84, 314.85°)
OKLaboklab(78.91% 0.0962 -0.1073)
OKLCHoklch(78.91% 0.144 311.9)
XYZxyz(58.5687, 46.2983, 98.7605)
Luminance0.4630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99EFD #C2FD9E
analogous
#A99EFD #D99EFD #FD9EF2
triadic
#D99EFD #FDD99E #9EFDD9
tetradic
#D99EFD #FDA99E #C2FD9E #9EF2FD
square
#D99EFD #FDA99E #C2FD9E #9EF2FD
split-complementary
#D99EFD #F2FD9E #9EFDA9
monochromatic
#AA26FB #C262FC #D99EFD #F0DAFE #F3E1FE

Accessibility & contrast

On white

2.05
#D99EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D99EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99EFD
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99EFD#FFFFFF#000000##000000
##D99EFD1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#9AB7FA
Tritanopia (blue-blind)
#D6ABC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99efd;
/* rgb */ color: rgb(217, 158, 253);
/* oklch */ color: oklch(78.9% 0.144 311.9);
Tailwind
colors: {
  custom: {
    50: '#e6bbfe',
    500: '#d99efd',
    950: '#000000',
  },
}
SCSS
$custom: #d99efd;
$custom-light: #e6bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d99efd",
  "rgb": {
    "r": 217,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 277.263,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78913,
    "c": 0.14413,
    "h": 311.9
  },
  "luminance": 0.46297
}

Semantic roles & 50–950 ramp

primary
#D99EFD
secondary
#E1F7D4
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D99EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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