#A96BFE#A96BFE

#A96BFE is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.2% C 0.211 H 300.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A96BFE
RGBrgb(169, 107, 254)
HSLhsl(265, 99%, 71%)
HSVhsv(265, 58%, 100%)
CMYKcmyk(33.5%, 57.9%, 0%, 0.4%)
CIE-LABlab(58.14, 53.58, -64.42)
CIE-LCHlch(58.14, 83.80, 309.75°)
OKLaboklab(66.19% 0.106 -0.1826)
OKLCHoklch(66.19% 0.211 300.1)
XYZxyz(39.5050, 26.1059, 96.7044)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A96BFE #C0FE6B
analogous
#6B76FE #A96BFE #F26BFE
triadic
#A96BFE #FEA96B #6BFEA9
tetradic
#A96BFE #FE6B76 #C0FE6B #6BFEF2
square
#A96BFE #FE6B76 #C0FE6B #6BFEF2
split-complementary
#A96BFE #FEF26B #76FE6B
monochromatic
#6502ED #862EFE #A96BFE #CCA8FE #EDE1FF

Accessibility & contrast

On white

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

On black

6.22
#A96BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A96BFE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A96BFE#FFFFFF#000000##000000
##A96BFE1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8BFF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#9789AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a96bfe;
/* rgb */ color: rgb(169, 107, 254);
/* oklch */ color: oklch(66.2% 0.211 300.1);
Tailwind
colors: {
  custom: {
    50: '#c798ff',
    500: '#a96bfe',
    950: '#000000',
  },
}
SCSS
$custom: #a96bfe;
$custom-light: #c798ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a96bfe",
  "rgb": {
    "r": 169,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 265.306,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.21114,
    "h": 300.1
  },
  "luminance": 0.26106
}

Semantic roles & 50–950 ramp

primary
#A96BFE
secondary
#E5F6CF
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A96BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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