#AA96DB#AA96DB

#AA96DB is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.6% C 0.101 H 297.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AA96DB
RGBrgb(170, 150, 219)
HSLhsl(257, 49%, 72%)
HSVhsv(257, 32%, 86%)
CMYKcmyk(22.4%, 31.5%, 0%, 14.1%)
CIE-LABlab(66.12, 21.58, -32.45)
CIE-LCHlch(66.12, 38.97, 303.63°)
OKLaboklab(71.63% 0.0459 -0.0897)
OKLCHoklch(71.63% 0.101 297.1)
XYZxyz(40.2672, 35.4729, 71.7296)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96DB #C7DB96
analogous
#96A5DB #AA96DB #CC96DB
triadic
#AA96DB #DBAA96 #96DBAA
tetradic
#AA96DB #DB96A5 #C7DB96 #96DBCC
square
#AA96DB #DB96A5 #C7DB96 #96DBCC
split-complementary
#AA96DB #DBCC96 #A5DB96
monochromatic
#623FB8 #8568CB #AA96DB #CFC4EB #EDE8F7

Accessibility & contrast

On white

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

On black

8.09
#AA96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96DB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96DB#FFFFFF#000000##000000
##AA96DB1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DE
Deuteranopia (green-blind)
#89A0D9
Tritanopia (blue-blind)
#A1A1AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa96db;
/* rgb */ color: rgb(170, 150, 219);
/* oklch */ color: oklch(71.6% 0.101 297.1);
Tailwind
colors: {
  custom: {
    50: '#c4b5e6',
    500: '#aa96db',
    950: '#000000',
  },
}
SCSS
$custom: #aa96db;
$custom-light: #c4b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96db",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 257.391,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.10074,
    "h": 297.1
  },
  "luminance": 0.35473
}

Semantic roles & 50–950 ramp

primary
#AA96DB
secondary
#E9EEDD
accent
#BC2992
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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