#AA96EC#AA96EC

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

Color values

HEX#AA96EC
RGBrgb(170, 150, 236)
HSLhsl(254, 69%, 76%)
HSVhsv(254, 36%, 93%)
CMYKcmyk(28%, 36.4%, 0%, 7.5%)
CIE-LABlab(66.84, 25.66, -40.70)
CIE-LCHlch(66.84, 48.11, 302.23°)
OKLaboklab(72.42% 0.0499 -0.1134)
OKLCHoklch(72.42% 0.124 293.8)
XYZxyz(42.6205, 36.4142, 84.1238)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96EC #D8EC96
analogous
#96ADEC #AA96EC #D596EC
triadic
#AA96EC #ECAA96 #96ECAA
tetradic
#AA96EC #EC96AD #D8EC96 #96ECD5
square
#AA96EC #EC96AD #D8EC96 #96ECD5
split-complementary
#AA96EC #ECD596 #ADEC96
monochromatic
#562ED9 #8062E3 #AA96EC #D4CAF5 #EAE5FA

Accessibility & contrast

On white

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

On black

8.28
#AA96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96EC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96EC#FFFFFF#000000##000000
##AA96EC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4EF
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#9CA5B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aa96ec;
/* rgb */ color: rgb(170, 150, 236);
/* oklch */ color: oklch(72.4% 0.124 293.8);
Tailwind
colors: {
  custom: {
    50: '#c5b5f2',
    500: '#aa96ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa96ec;
$custom-light: #c5b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96ec",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 253.953,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72416,
    "c": 0.12391,
    "h": 293.8
  },
  "luminance": 0.36415
}

Semantic roles & 50–950 ramp

primary
#AA96EC
secondary
#ECF2D9
accent
#D114A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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