#A96FEF#A96FEF

#A96FEF is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.9% C 0.188 H 302.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A96FEF
RGBrgb(169, 111, 239)
HSLhsl(267, 80%, 69%)
HSVhsv(267, 54%, 94%)
CMYKcmyk(29.3%, 53.6%, 0%, 6.3%)
CIE-LABlab(58.07, 47.85, -56.22)
CIE-LCHlch(58.07, 73.83, 310.40°)
OKLaboklab(65.86% 0.1009 -0.1586)
OKLCHoklch(65.86% 0.188 302.5)
XYZxyz(37.6231, 26.0359, 84.6880)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96FEF #B5EF6F
analogous
#6F75EF #A96FEF #E96FEF
triadic
#A96FEF #EFA96F #6FEFA9
tetradic
#A96FEF #EF6F75 #B5EF6F #6FEFE9
square
#A96FEF #EF6F75 #B5EF6F #6FEFE9
split-complementary
#A96FEF #EFE96F #75EF6F
monochromatic
#6917CD #8838E9 #A96FEF #CAA6F5 #EBDDFB

Accessibility & contrast

On white

3.38
#A96FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A96FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96FEF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96FEF#FFFFFF#000000##000000
##A96FEF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#9C88A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a96fef;
/* rgb */ color: rgb(169, 111, 239);
/* oklch */ color: oklch(65.9% 0.188 302.5);
Tailwind
colors: {
  custom: {
    50: '#c69af5',
    500: '#a96fef',
    950: '#000000',
  },
}
SCSS
$custom: #a96fef;
$custom-light: #c69af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a96fef",
  "rgb": {
    "r": 169,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 267.188,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.18792,
    "h": 302.5
  },
  "luminance": 0.26036
}

Semantic roles & 50–950 ramp

primary
#A96FEF
secondary
#DFF0CA
accent
#DC097D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A96FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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