#D99AFE#D99AFE

#D99AFE is a light, vivid violet. Relative luminance 0.450; OKLCH L 78.3% C 0.152 H 312.2°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#D99AFE
RGBrgb(217, 154, 254)
HSLhsl(278, 98%, 80%)
HSVhsv(278, 39%, 100%)
CMYKcmyk(14.6%, 39.4%, 0%, 0.4%)
CIE-LABlab(72.90, 41.03, -40.72)
CIE-LCHlch(72.90, 57.80, 315.22°)
OKLaboklab(78.3% 0.1021 -0.1126)
OKLCHoklch(78.3% 0.152 312.2)
XYZxyz(58.0572, 45.0197, 99.3780)
Luminance0.4502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99AFE #BFFE9A
analogous
#A79AFE #D99AFE #FE9AF1
triadic
#D99AFE #FED99A #9AFED9
tetradic
#D99AFE #FEA79A #BFFE9A #9AF1FE
square
#D99AFE #FEA79A #BFFE9A #9AF1FE
split-complementary
#D99AFE #F1FE9A #9AFEA7
monochromatic
#AB21FD #C25DFD #D99AFE #F0D7FF #F4E1FF

Accessibility & contrast

On white

2.10
#D99AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#D99AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99AFE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99AFE#FFFFFF#000000##000000
##D99AFE1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#D6A8C0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99afe;
/* rgb */ color: rgb(217, 154, 254);
/* oklch */ color: oklch(78.3% 0.152 312.2);
Tailwind
colors: {
  custom: {
    50: '#e6b9ff',
    500: '#d99afe',
    950: '#000000',
  },
}
SCSS
$custom: #d99afe;
$custom-light: #e6b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d99afe",
  "rgb": {
    "r": 217,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 277.8,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.78297,
    "c": 0.15193,
    "h": 312.2
  },
  "luminance": 0.45019
}

Semantic roles & 50–950 ramp

primary
#D99AFE
secondary
#E1F7D4
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D99AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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