#AA96EA#AA96EA

#AA96EA is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.3% C 0.121 H 294.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AA96EA
RGBrgb(170, 150, 234)
HSLhsl(254, 67%, 75%)
HSVhsv(254, 36%, 92%)
CMYKcmyk(27.4%, 35.9%, 0%, 8.2%)
CIE-LABlab(66.75, 25.17, -39.74)
CIE-LCHlch(66.75, 47.04, 302.35°)
OKLaboklab(72.32% 0.0495 -0.1106)
OKLCHoklch(72.32% 0.121 294.1)
XYZxyz(42.3316, 36.2987, 82.6021)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96EA #D6EA96
analogous
#96ACEA #AA96EA #D496EA
triadic
#AA96EA #EAAA96 #96EAAA
tetradic
#AA96EA #EA96AC #D6EA96 #96EAD4
square
#AA96EA #EA96AC #D6EA96 #96EAD4
split-complementary
#AA96EA #EAD496 #ACEA96
monochromatic
#5730D6 #8163E0 #AA96EA #D3C9F4 #EAE5FA

Accessibility & contrast

On white

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

On black

8.26
#AA96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96EA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96EA#FFFFFF#000000##000000
##AA96EA1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#9CA5B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa96ea;
/* rgb */ color: rgb(170, 150, 234);
/* oklch */ color: oklch(72.3% 0.121 294.1);
Tailwind
colors: {
  custom: {
    50: '#c5b5f1',
    500: '#aa96ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa96ea;
$custom-light: #c5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96ea",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 254.286,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72321,
    "c": 0.1212,
    "h": 294.1
  },
  "luminance": 0.36299
}

Semantic roles & 50–950 ramp

primary
#AA96EA
secondary
#ECF1DA
accent
#CF17A3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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