#D99FFC#D99FFC

#D99FFC is a light, vivid violet. Relative luminance 0.466; OKLCH L 79.0% C 0.141 H 312.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#D99FFC
RGBrgb(217, 159, 252)
HSLhsl(277, 94%, 81%)
HSVhsv(277, 37%, 99%)
CMYKcmyk(13.9%, 36.9%, 0%, 1.2%)
CIE-LABlab(73.92, 37.93, -38.06)
CIE-LCHlch(73.92, 53.73, 314.90°)
OKLaboklab(79.04% 0.0946 -0.1049)
OKLCHoklch(79.04% 0.141 312)
XYZxyz(58.5811, 46.5772, 97.9809)
Luminance0.4658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FFC #C2FC9F
analogous
#AA9FFC #D99FFC #FC9FF1
triadic
#D99FFC #FCD99F #9FFCD9
tetradic
#D99FFC #FCAA9F #C2FC9F #9FF1FC
square
#D99FFC #FCAA9F #C2FC9F #9FF1FC
split-complementary
#D99FFC #F1FC9F #9FFCAA
monochromatic
#AA28F8 #C264FA #D99FFC #F0DAFE #F3E1FE

Accessibility & contrast

On white

2.04
#D99FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#D99FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FFC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FFC#FFFFFF#000000##000000
##D99FFC1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d99ffc;
/* rgb */ color: rgb(217, 159, 252);
/* oklch */ color: oklch(79.0% 0.141 312.0);
Tailwind
colors: {
  custom: {
    50: '#e6bcfd',
    500: '#d99ffc',
    950: '#000000',
  },
}
SCSS
$custom: #d99ffc;
$custom-light: #e6bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ffc",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 277.419,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79036,
    "c": 0.14129,
    "h": 312
  },
  "luminance": 0.46576
}

Semantic roles & 50–950 ramp

primary
#D99FFC
secondary
#E1F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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