#D99FFE#D99FFE

#D99FFE is a light, vivid violet. Relative luminance 0.467; OKLCH L 79.1% C 0.144 H 311.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D99FFE
RGBrgb(217, 159, 254)
HSLhsl(277, 98%, 81%)
HSVhsv(277, 37%, 100%)
CMYKcmyk(14.6%, 37.4%, 0%, 0.4%)
CIE-LABlab(74.00, 38.35, -39.01)
CIE-LCHlch(74.00, 54.70, 314.51°)
OKLaboklab(79.13% 0.095 -0.1077)
OKLCHoklch(79.13% 0.144 311.4)
XYZxyz(58.8997, 46.7047, 99.6588)
Luminance0.4670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FFE #C4FE9F
analogous
#A99FFE #D99FFE #FE9FF3
triadic
#D99FFE #FED99F #9FFED9
tetradic
#D99FFE #FEA99F #C4FE9F #9FF3FE
square
#D99FFE #FEA99F #C4FE9F #9FF3FE
split-complementary
#D99FFE #F3FE9F #9FFEA9
monochromatic
#A926FD #C162FD #D99FFE #F1DCFF #F3E1FF

Accessibility & contrast

On white

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

On black

10.34
#D99FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FFE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FFE#FFFFFF#000000##000000
##D99FFE1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#D5ACC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d99ffe;
/* rgb */ color: rgb(217, 159, 254);
/* oklch */ color: oklch(79.1% 0.144 311.4);
Tailwind
colors: {
  custom: {
    50: '#e6bcff',
    500: '#d99ffe',
    950: '#000000',
  },
}
SCSS
$custom: #d99ffe;
$custom-light: #e6bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ffe",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 276.632,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79125,
    "c": 0.14362,
    "h": 311.4
  },
  "luminance": 0.46704
}

Semantic roles & 50–950 ramp

primary
#D99FFE
secondary
#E2F7D4
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D99FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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