#AA96FB#AA96FB

#AA96FB is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.2% C 0.144 H 291.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AA96FB
RGBrgb(170, 150, 251)
HSLhsl(252, 93%, 79%)
HSVhsv(252, 40%, 98%)
CMYKcmyk(32.3%, 40.2%, 0%, 1.6%)
CIE-LABlab(67.52, 29.39, -47.84)
CIE-LCHlch(67.52, 56.15, 301.57°)
OKLaboklab(73.16% 0.0529 -0.1341)
OKLCHoklch(73.16% 0.144 291.5)
XYZxyz(44.8920, 37.3228, 96.0869)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96FB #E7FB96
analogous
#96B4FB #AA96FB #DC96FB
triadic
#AA96FB #FBAA96 #96FBAA
tetradic
#AA96FB #FB96B4 #E7FB96 #96FBDC
square
#AA96FB #FB96B4 #E7FB96 #96FBDC
split-complementary
#AA96FB #FBDC96 #B4FB96
monochromatic
#4B20F7 #7A5BF9 #AA96FB #DAD1FD #E7E2FE

Accessibility & contrast

On white

2.48
#AA96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#AA96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96FB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96FB#FFFFFF#000000##000000
##AA96FB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#79A2F9
Tritanopia (blue-blind)
#97A9BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa96fb;
/* rgb */ color: rgb(170, 150, 251);
/* oklch */ color: oklch(73.2% 0.144 291.5);
Tailwind
colors: {
  custom: {
    50: '#c6b5fd',
    500: '#aa96fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa96fb;
$custom-light: #c6b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96fb",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 251.881,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.14415,
    "h": 291.5
  },
  "luminance": 0.37324
}

Semantic roles & 50–950 ramp

primary
#AA96FB
secondary
#EFF6D5
accent
#E600B8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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