#AA96DC#AA96DC

#AA96DC is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.7% C 0.102 H 296.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AA96DC
RGBrgb(170, 150, 220)
HSLhsl(257, 50%, 73%)
HSVhsv(257, 32%, 86%)
CMYKcmyk(22.7%, 31.8%, 0%, 13.7%)
CIE-LABlab(66.16, 21.82, -32.94)
CIE-LCHlch(66.16, 39.51, 303.52°)
OKLaboklab(71.67% 0.0462 -0.0911)
OKLCHoklch(71.67% 0.102 296.9)
XYZxyz(40.3992, 35.5257, 72.4250)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96DC #C8DC96
analogous
#96A5DC #AA96DC #CD96DC
triadic
#AA96DC #DCAA96 #96DCAA
tetradic
#AA96DC #DC96A5 #C8DC96 #96DCCD
square
#AA96DC #DC96A5 #C8DC96 #96DCCD
split-complementary
#AA96DC #DCCD96 #A5DC96
monochromatic
#613EBA #8568CD #AA96DC #CFC4EB #ECE8F7

Accessibility & contrast

On white

2.59
#AA96DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AA96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96DC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96DC#FFFFFF#000000##000000
##AA96DC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DF
Deuteranopia (green-blind)
#88A0DA
Tritanopia (blue-blind)
#A0A1AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa96dc;
/* rgb */ color: rgb(170, 150, 220);
/* oklch */ color: oklch(71.7% 0.102 296.9);
Tailwind
colors: {
  custom: {
    50: '#c4b5e7',
    500: '#aa96dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa96dc;
$custom-light: #c4b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96dc",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 257.143,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.10212,
    "h": 296.9
  },
  "luminance": 0.35526
}

Semantic roles & 50–950 ramp

primary
#AA96DC
secondary
#E9EEDD
accent
#BD2893
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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