#A96BF2#A96BF2

#A96BF2 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.4% C 0.197 H 302.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A96BF2
RGBrgb(169, 107, 242)
HSLhsl(268, 84%, 68%)
HSVhsv(268, 56%, 95%)
CMYKcmyk(30.2%, 55.8%, 0%, 5.1%)
CIE-LABlab(57.43, 50.70, -58.92)
CIE-LCHlch(57.43, 77.73, 310.71°)
OKLaboklab(65.44% 0.1059 -0.1665)
OKLCHoklch(65.44% 0.197 302.5)
XYZxyz(37.6432, 25.3612, 86.8992)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96BF2 #B4F26B
analogous
#6B70F2 #A96BF2 #ED6BF2
triadic
#A96BF2 #F2A96B #6BF2A9
tetradic
#A96BF2 #F26B70 #B4F26B #6BF2ED
square
#A96BF2 #F26B70 #B4F26B #6BF2ED
split-complementary
#A96BF2 #F2ED6B #70F26B
monochromatic
#6A12D0 #8833ED #A96BF2 #CAA3F7 #EADCFC

Accessibility & contrast

On white

3.46
#A96BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A96BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96BF2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96BF2#FFFFFF#000000##000000
##A96BF21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3389F6
Deuteranopia (green-blind)
#4B89EF
Tritanopia (blue-blind)
#9B86A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a96bf2;
/* rgb */ color: rgb(169, 107, 242);
/* oklch */ color: oklch(65.4% 0.197 302.5);
Tailwind
colors: {
  custom: {
    50: '#c697f7',
    500: '#a96bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a96bf2;
$custom-light: #c697f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a96bf2",
  "rgb": {
    "r": 169,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 267.556,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65439,
    "c": 0.19732,
    "h": 302.5
  },
  "luminance": 0.25361
}

Semantic roles & 50–950 ramp

primary
#A96BF2
secondary
#DEF1C8
accent
#E0057C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A96BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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