#AA96DF#AA96DF

#AA96DF is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.8% C 0.106 H 296.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AA96DF
RGBrgb(170, 150, 223)
HSLhsl(256, 53%, 73%)
HSVhsv(256, 33%, 87%)
CMYKcmyk(23.8%, 32.7%, 0%, 12.5%)
CIE-LABlab(66.28, 22.52, -34.40)
CIE-LCHlch(66.28, 41.12, 303.21°)
OKLaboklab(71.81% 0.0469 -0.0953)
OKLCHoklch(71.81% 0.106 296.2)
XYZxyz(40.8001, 35.6861, 74.5363)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96DF #CBDF96
analogous
#96A6DF #AA96DF #CE96DF
triadic
#AA96DF #DFAA96 #96DFAA
tetradic
#AA96DF #DF96A6 #CBDF96 #96DFCE
square
#AA96DF #DF96A6 #CBDF96 #96DFCE
split-complementary
#AA96DF #DFCE96 #A6DF96
monochromatic
#5F3BC0 #8467D1 #AA96DF #D0C5ED #ECE8F8

Accessibility & contrast

On white

2.58
#AA96DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#AA96DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96DF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96DF#FFFFFF#000000##000000
##AA96DF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E2
Deuteranopia (green-blind)
#87A0DD
Tritanopia (blue-blind)
#A0A2B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa96df;
/* rgb */ color: rgb(170, 150, 223);
/* oklch */ color: oklch(71.8% 0.106 296.2);
Tailwind
colors: {
  custom: {
    50: '#c4b5e9',
    500: '#aa96df',
    950: '#000000',
  },
}
SCSS
$custom: #aa96df;
$custom-light: #c4b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96df",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 256.438,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.10622,
    "h": 296.2
  },
  "luminance": 0.35686
}

Semantic roles & 50–950 ramp

primary
#AA96DF
secondary
#EAEFDC
accent
#C12596
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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