#AA96EF#AA96EF

#AA96EF is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.6% C 0.128 H 293.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AA96EF
RGBrgb(170, 150, 239)
HSLhsl(253, 74%, 76%)
HSVhsv(253, 37%, 94%)
CMYKcmyk(28.9%, 37.2%, 0%, 6.3%)
CIE-LABlab(66.97, 26.39, -42.14)
CIE-LCHlch(66.97, 49.72, 302.06°)
OKLaboklab(72.56% 0.0506 -0.1176)
OKLCHoklch(72.56% 0.128 293.3)
XYZxyz(43.0600, 36.5901, 86.4386)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96EF #DBEF96
analogous
#96AFEF #AA96EF #D796EF
triadic
#AA96EF #EFAA96 #96EFAA
tetradic
#AA96EF #EF96AF #DBEF96 #96EFD7
square
#AA96EF #EF96AF #DBEF96 #96EFD7
split-complementary
#AA96EF #EFD796 #AFEF96
monochromatic
#542CDF #7F61E7 #AA96EF #D5CBF7 #EAE4FB

Accessibility & contrast

On white

2.52
#AA96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AA96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96EF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96EF#FFFFFF#000000##000000
##AA96EF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#7FA1ED
Tritanopia (blue-blind)
#9BA6B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aa96ef;
/* rgb */ color: rgb(170, 150, 239);
/* oklch */ color: oklch(72.6% 0.128 293.3);
Tailwind
colors: {
  custom: {
    50: '#c5b5f4',
    500: '#aa96ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa96ef;
$custom-light: #c5b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96ef",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 253.483,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72561,
    "c": 0.12798,
    "h": 293.3
  },
  "luminance": 0.36591
}

Semantic roles & 50–950 ramp

primary
#AA96EF
secondary
#EDF3D8
accent
#D610A9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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