#D99AFA#D99AFA

#D99AFA is a light, vivid violet. Relative luminance 0.448; OKLCH L 78.1% C 0.147 H 313.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#D99AFA
RGBrgb(217, 154, 250)
HSLhsl(279, 91%, 79%)
HSVhsv(279, 38%, 98%)
CMYKcmyk(13.2%, 38.4%, 0%, 2%)
CIE-LABlab(72.74, 40.20, -38.81)
CIE-LCHlch(72.74, 55.88, 316.01°)
OKLaboklab(78.12% 0.1013 -0.1071)
OKLCHoklch(78.12% 0.147 313.4)
XYZxyz(57.4234, 44.7662, 96.0397)
Luminance0.4476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99AFA #BBFA9A
analogous
#A99AFA #D99AFA #FA9AEB
triadic
#D99AFA #FAD99A #9AFAD9
tetradic
#D99AFA #FAA99A #BBFA9A #9AEBFA
square
#D99AFA #FAA99A #BBFA9A #9AEBFA
split-complementary
#D99AFA #EBFA9A #9AFAA9
monochromatic
#AD25F4 #C360F7 #D99AFA #EFD4FD #F4E2FE

Accessibility & contrast

On white

2.11
#D99AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#D99AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99AFA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99AFA#FFFFFF#000000##000000
##D99AFA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#D6A7BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d99afa;
/* rgb */ color: rgb(217, 154, 250);
/* oklch */ color: oklch(78.1% 0.147 313.4);
Tailwind
colors: {
  custom: {
    50: '#e6b8fc',
    500: '#d99afa',
    950: '#000000',
  },
}
SCSS
$custom: #d99afa;
$custom-light: #e6b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d99afa",
  "rgb": {
    "r": 217,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 279.375,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78116,
    "c": 0.14737,
    "h": 313.4
  },
  "luminance": 0.44765
}

Semantic roles & 50–950 ramp

primary
#D99AFA
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D99AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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