#D99FFA#D99FFA

#D99FFA is a light, vivid violet. Relative luminance 0.465; OKLCH L 78.9% C 0.139 H 312.7°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D99FFA
RGBrgb(217, 159, 250)
HSLhsl(278, 90%, 80%)
HSVhsv(278, 36%, 98%)
CMYKcmyk(13.2%, 36.4%, 0%, 2%)
CIE-LABlab(73.84, 37.52, -37.10)
CIE-LCHlch(73.84, 52.76, 315.32°)
OKLaboklab(78.95% 0.0942 -0.1022)
OKLCHoklch(78.95% 0.139 312.7)
XYZxyz(58.2658, 46.4511, 96.3205)
Luminance0.4645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FFA #C0FA9F
analogous
#AC9FFA #D99FFA #FA9FED
triadic
#D99FFA #FAD99F #9FFAD9
tetradic
#D99FFA #FAAC9F #C0FA9F #9FEDFA
square
#D99FFA #FAAC9F #C0FA9F #9FEDFA
split-complementary
#D99FFA #EDFA9F #9FFAAC
monochromatic
#AB2BF4 #C265F7 #D99FFA #F0D9FD #F3E2FD

Accessibility & contrast

On white

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

On black

10.29
#D99FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FFA
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FFA#FFFFFF#000000##000000
##D99FFA1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FD
Deuteranopia (green-blind)
#9DB7F7
Tritanopia (blue-blind)
#D6ABC1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d99ffa;
/* rgb */ color: rgb(217, 159, 250);
/* oklch */ color: oklch(78.9% 0.139 312.7);
Tailwind
colors: {
  custom: {
    50: '#e6bcfc',
    500: '#d99ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d99ffa;
$custom-light: #e6bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ffa",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 250
  },
  "hsl": {
    "h": 278.242,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78948,
    "c": 0.13898,
    "h": 312.7
  },
  "luminance": 0.4645
}

Semantic roles & 50–950 ramp

primary
#D99FFA
secondary
#E1F6D5
accent
#E60053
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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