#A96DFE#A96DFE

#A96DFE is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.5% C 0.208 H 299.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A96DFE
RGBrgb(169, 109, 254)
HSLhsl(265, 99%, 71%)
HSVhsv(265, 57%, 100%)
CMYKcmyk(33.5%, 57.1%, 0%, 0.4%)
CIE-LABlab(58.53, 52.54, -63.79)
CIE-LCHlch(58.53, 82.63, 309.48°)
OKLaboklab(66.48% 0.1036 -0.1807)
OKLCHoklch(66.48% 0.208 299.8)
XYZxyz(39.7159, 26.5277, 96.7747)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96DFE #C2FE6D
analogous
#6D79FE #A96DFE #F26DFE
triadic
#A96DFE #FEA96D #6DFEA9
tetradic
#A96DFE #FE6D79 #C2FE6D #6DFEF2
square
#A96DFE #FE6D79 #C2FE6D #6DFEF2
split-complementary
#A96DFE #FEF26D #79FE6D
monochromatic
#6402EF #8530FE #A96DFE #CDAAFE #EDE1FF

Accessibility & contrast

On white

3.33
#A96DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A96DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96DFE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96DFE#FFFFFF#000000##000000
##A96DFE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#258CFF
Deuteranopia (green-blind)
#408CFB
Tritanopia (blue-blind)
#978BAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a96dfe;
/* rgb */ color: rgb(169, 109, 254);
/* oklch */ color: oklch(66.5% 0.208 299.8);
Tailwind
colors: {
  custom: {
    50: '#c799ff',
    500: '#a96dfe',
    950: '#000000',
  },
}
SCSS
$custom: #a96dfe;
$custom-light: #c799ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a96dfe",
  "rgb": {
    "r": 169,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 264.828,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6648,
    "c": 0.20835,
    "h": 299.8
  },
  "luminance": 0.26528
}

Semantic roles & 50–950 ramp

primary
#A96DFE
secondary
#E7F6D0
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A96DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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