#A96EF8#A96EF8

#A96EF8 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.200 H 300.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A96EF8
RGBrgb(169, 110, 248)
HSLhsl(266, 91%, 70%)
HSVhsv(266, 56%, 97%)
CMYKcmyk(31.9%, 55.6%, 0%, 2.7%)
CIE-LABlab(58.38, 50.55, -60.72)
CIE-LCHlch(58.38, 79.00, 309.78°)
OKLaboklab(66.25% 0.1024 -0.1717)
OKLCHoklch(66.25% 0.2 300.8)
XYZxyz(38.8774, 26.3640, 91.8293)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96EF8 #BDF86E
analogous
#6E78F8 #A96EF8 #EE6EF8
triadic
#A96EF8 #F8A96E #6EF8A9
tetradic
#A96EF8 #F86E78 #BDF86E #6EF8EE
square
#A96EF8 #F86E78 #BDF86E #6EF8EE
split-complementary
#A96EF8 #F8EE6E #78F86E
monochromatic
#660BE1 #8634F5 #A96EF8 #CCA8FB #EEE2FE

Accessibility & contrast

On white

3.35
#A96EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A96EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96EF8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96EF8#FFFFFF#000000##000000
##A96EF81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFD
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#998AA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a96ef8;
/* rgb */ color: rgb(169, 110, 248);
/* oklch */ color: oklch(66.3% 0.200 300.8);
Tailwind
colors: {
  custom: {
    50: '#c799fb',
    500: '#a96ef8',
    950: '#000000',
  },
}
SCSS
$custom: #a96ef8;
$custom-light: #c799fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a96ef8",
  "rgb": {
    "r": 169,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 265.652,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66253,
    "c": 0.19994,
    "h": 300.8
  },
  "luminance": 0.26364
}

Semantic roles & 50–950 ramp

primary
#A96EF8
secondary
#E4F4CE
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A96EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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