#A96BF1#A96BF1

#A96BF1 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.196 H 302.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A96BF1
RGBrgb(169, 107, 241)
HSLhsl(268, 83%, 68%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(29.9%, 55.6%, 0%, 5.5%)
CIE-LABlab(57.37, 50.46, -58.46)
CIE-LCHlch(57.37, 77.22, 310.80°)
OKLaboklab(65.38% 0.1059 -0.1651)
OKLCHoklch(65.38% 0.196 302.7)
XYZxyz(37.4935, 25.3013, 86.1104)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96BF1 #B3F16B
analogous
#6B70F1 #A96BF1 #EC6BF1
triadic
#A96BF1 #F1A96B #6BF1A9
tetradic
#A96BF1 #F16B70 #B3F16B #6BF1EC
square
#A96BF1 #F16B70 #B3F16B #6BF1EC
split-complementary
#A96BF1 #F1EC6B #70F16B
monochromatic
#6A13CE #8933EC #A96BF1 #C9A3F6 #EADBFC

Accessibility & contrast

On white

3.47
#A96BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A96BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96BF1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96BF1#FFFFFF#000000##000000
##A96BF11.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#4C89EE
Tritanopia (blue-blind)
#9B85A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a96bf1;
/* rgb */ color: rgb(169, 107, 241);
/* oklch */ color: oklch(65.4% 0.196 302.7);
Tailwind
colors: {
  custom: {
    50: '#c697f6',
    500: '#a96bf1',
    950: '#000000',
  },
}
SCSS
$custom: #a96bf1;
$custom-light: #c697f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a96bf1",
  "rgb": {
    "r": 169,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 267.761,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65378,
    "c": 0.19616,
    "h": 302.7
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#A96BF1
secondary
#DDF0C8
accent
#DF067B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A96BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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