#AA96FE#AA96FE

#AA96FE is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.3% C 0.148 H 291.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AA96FE
RGBrgb(170, 150, 254)
HSLhsl(252, 98%, 79%)
HSVhsv(252, 41%, 100%)
CMYKcmyk(33.1%, 40.9%, 0%, 0.4%)
CIE-LABlab(67.66, 30.15, -49.25)
CIE-LCHlch(67.66, 57.75, 301.48°)
OKLaboklab(73.31% 0.0534 -0.1382)
OKLCHoklch(73.31% 0.148 291.1)
XYZxyz(45.3686, 37.5135, 98.5972)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96FE #EAFE96
analogous
#96B6FE #AA96FE #DE96FE
triadic
#AA96FE #FEAA96 #96FEAA
tetradic
#AA96FE #FE96B6 #EAFE96 #96FEDE
square
#AA96FE #FE96B6 #EAFE96 #96FEDE
split-complementary
#AA96FE #FEDE96 #B6FE96
monochromatic
#481DFD #7959FD #AA96FE #DBD3FF #E6E1FF

Accessibility & contrast

On white

2.47
#AA96FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#AA96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96FE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96FE#FFFFFF#000000##000000
##AA96FE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#96A9BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa96fe;
/* rgb */ color: rgb(170, 150, 254);
/* oklch */ color: oklch(73.3% 0.148 291.1);
Tailwind
colors: {
  custom: {
    50: '#c6b5ff',
    500: '#aa96fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa96fe;
$custom-light: #c6b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96fe",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 251.538,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73314,
    "c": 0.14817,
    "h": 291.1
  },
  "luminance": 0.37514
}

Semantic roles & 50–950 ramp

primary
#AA96FE
secondary
#F0F7D4
accent
#E600B9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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