#D99FFD#D99FFD

#D99FFD is a light, vivid violet. Relative luminance 0.466; OKLCH L 79.1% C 0.142 H 311.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#D99FFD
RGBrgb(217, 159, 253)
HSLhsl(277, 96%, 81%)
HSVhsv(277, 37%, 99%)
CMYKcmyk(14.2%, 37.2%, 0%, 0.8%)
CIE-LABlab(73.96, 38.14, -38.53)
CIE-LCHlch(73.96, 54.22, 314.70°)
OKLaboklab(79.08% 0.0948 -0.1063)
OKLCHoklch(79.08% 0.142 311.7)
XYZxyz(58.7400, 46.6408, 98.8176)
Luminance0.4664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FFD #C3FD9F
analogous
#AA9FFD #D99FFD #FD9FF2
triadic
#D99FFD #FDD99F #9FFDD9
tetradic
#D99FFD #FDAA9F #C3FD9F #9FF2FD
square
#D99FFD #FDAA9F #C3FD9F #9FF2FD
split-complementary
#D99FFD #F2FD9F #9FFDAA
monochromatic
#AA27FB #C163FC #D99FFD #F1DBFE #F3E1FE

Accessibility & contrast

On white

2.03
#D99FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#D99FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FFD
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FFD#FFFFFF#000000##000000
##D99FFD1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#9BB7FA
Tritanopia (blue-blind)
#D6ACC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d99ffd;
/* rgb */ color: rgb(217, 159, 253);
/* oklch */ color: oklch(79.1% 0.142 311.7);
Tailwind
colors: {
  custom: {
    50: '#e6bcfe',
    500: '#d99ffd',
    950: '#000000',
  },
}
SCSS
$custom: #d99ffd;
$custom-light: #e6bcfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ffd",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 253
  },
  "hsl": {
    "h": 277.021,
    "s": 95.918,
    "l": 80.784
  },
  "oklch": {
    "l": 0.7908,
    "c": 0.14246,
    "h": 311.7
  },
  "luminance": 0.4664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D99FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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