#A96FDF#A96FDF

#A96FDF is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.169 H 306.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A96FDF
RGBrgb(169, 111, 223)
HSLhsl(271, 64%, 65%)
HSVhsv(271, 50%, 87%)
CMYKcmyk(24.2%, 50.2%, 0%, 12.5%)
CIE-LABlab(57.20, 44.08, -48.66)
CIE-LCHlch(57.20, 65.66, 312.18°)
OKLaboklab(64.94% 0.0997 -0.1365)
OKLCHoklch(64.94% 0.169 306.2)
XYZxyz(35.3632, 25.1319, 72.7857)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96FDF #A5DF6F
analogous
#716FDF #A96FDF #DF6FDD
triadic
#A96FDF #DFA96F #6FDFA9
tetradic
#A96FDF #DF716F #A5DF6F #6FDDDF
square
#A96FDF #DF716F #A5DF6F #6FDDDF
split-complementary
#A96FDF #DDDF6F #6FDF71
monochromatic
#6C26AD #8B3DD4 #A96FDF #C7A1EA #E5D3F5

Accessibility & contrast

On white

3.48
#A96FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A96FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96FDF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96FDF#FFFFFF#000000##000000
##A96FDF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#5F8ADC
Tritanopia (blue-blind)
#A1839D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a96fdf;
/* rgb */ color: rgb(169, 111, 223);
/* oklch */ color: oklch(64.9% 0.169 306.2);
Tailwind
colors: {
  custom: {
    50: '#c59ae9',
    500: '#a96fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a96fdf;
$custom-light: #c59ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a96fdf",
  "rgb": {
    "r": 169,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 271.071,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.16902,
    "h": 306.2
  },
  "luminance": 0.25132
}

Semantic roles & 50–950 ramp

primary
#A96FDF
secondary
#D4E8C2
accent
#CB1A70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A96FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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