#AA96EB#AA96EB

#AA96EB is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.4% C 0.123 H 293.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AA96EB
RGBrgb(170, 150, 235)
HSLhsl(254, 68%, 75%)
HSVhsv(254, 36%, 92%)
CMYKcmyk(27.7%, 36.2%, 0%, 7.8%)
CIE-LABlab(66.79, 25.41, -40.22)
CIE-LCHlch(66.79, 47.57, 302.29°)
OKLaboklab(72.37% 0.0497 -0.112)
OKLCHoklch(72.37% 0.123 293.9)
XYZxyz(42.4757, 36.3563, 83.3608)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96EB #D7EB96
analogous
#96ACEB #AA96EB #D596EB
triadic
#AA96EB #EBAA96 #96EBAA
tetradic
#AA96EB #EB96AC #D7EB96 #96EBD5
square
#AA96EB #EB96AC #D7EB96 #96EBD5
split-complementary
#AA96EB #EBD596 #ACEB96
monochromatic
#572FD7 #8063E1 #AA96EB #D4C9F5 #EAE5FA

Accessibility & contrast

On white

2.54
#AA96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AA96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96EB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96EB#FFFFFF#000000##000000
##AA96EB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3EE
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#9CA5B6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa96eb;
/* rgb */ color: rgb(170, 150, 235);
/* oklch */ color: oklch(72.4% 0.123 293.9);
Tailwind
colors: {
  custom: {
    50: '#c5b5f1',
    500: '#aa96eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa96eb;
$custom-light: #c5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96eb",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 254.118,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.12256,
    "h": 293.9
  },
  "luminance": 0.36357
}

Semantic roles & 50–950 ramp

primary
#AA96EB
secondary
#ECF2D9
accent
#D016A4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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