#AA96F8#AA96F8

#AA96F8 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.0% C 0.140 H 291.9°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AA96F8
RGBrgb(170, 150, 248)
HSLhsl(252, 88%, 78%)
HSVhsv(252, 40%, 97%)
CMYKcmyk(31.5%, 39.5%, 0%, 2.7%)
CIE-LABlab(67.38, 28.64, -46.42)
CIE-LCHlch(67.38, 54.54, 301.67°)
OKLaboklab(73.01% 0.0523 -0.13)
OKLCHoklch(73.01% 0.14 291.9)
XYZxyz(44.4229, 37.1352, 93.6161)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96F8 #E4F896
analogous
#96B3F8 #AA96F8 #DB96F8
triadic
#AA96F8 #F8AA96 #96F8AA
tetradic
#AA96F8 #F896B3 #E4F896 #96F8DB
square
#AA96F8 #F896B3 #E4F896 #96F8DB
split-complementary
#AA96F8 #F8DB96 #B3F896
monochromatic
#4D23F0 #7C5DF4 #AA96F8 #D8CFFC #E8E2FD

Accessibility & contrast

On white

2.49
#AA96F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#AA96F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96F8
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96F8#FFFFFF#000000##000000
##AA96F81.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#98A8BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa96f8;
/* rgb */ color: rgb(170, 150, 248);
/* oklch */ color: oklch(73.0% 0.140 291.9);
Tailwind
colors: {
  custom: {
    50: '#c6b5fb',
    500: '#aa96f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa96f8;
$custom-light: #c6b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96f8",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 252.245,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73008,
    "c": 0.14013,
    "h": 291.9
  },
  "luminance": 0.37136
}

Semantic roles & 50–950 ramp

primary
#AA96F8
secondary
#EFF5D6
accent
#E401B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA96F8

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

Preview Lab → · Contrast checker → · Palette generator →

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