#AA96FC#AA96FC

#AA96FC is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.145 H 291.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AA96FC
RGBrgb(170, 150, 252)
HSLhsl(252, 94%, 79%)
HSVhsv(252, 40%, 99%)
CMYKcmyk(32.5%, 40.5%, 0%, 1.2%)
CIE-LABlab(67.57, 29.65, -48.31)
CIE-LCHlch(67.57, 56.68, 301.54°)
OKLaboklab(73.21% 0.0531 -0.1355)
OKLCHoklch(73.21% 0.145 291.4)
XYZxyz(45.0501, 37.3861, 96.9193)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA96FC #E8FC96
analogous
#96B5FC #AA96FC #DD96FC
triadic
#AA96FC #FCAA96 #96FCAA
tetradic
#AA96FC #FC96B5 #E8FC96 #96FCDD
square
#AA96FC #FC96B5 #E8FC96 #96FCDD
split-complementary
#AA96FC #FCDD96 #B5FC96
monochromatic
#4A1FF9 #7A5BFA #AA96FC #DAD2FE #E7E1FE

Accessibility & contrast

On white

2.48
#AA96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AA96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA96FC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA96FC#FFFFFF#000000##000000
##AA96FC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#78A3F9
Tritanopia (blue-blind)
#97A9BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa96fc;
/* rgb */ color: rgb(170, 150, 252);
/* oklch */ color: oklch(73.2% 0.145 291.4);
Tailwind
colors: {
  custom: {
    50: '#c6b5fe',
    500: '#aa96fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa96fc;
$custom-light: #c6b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa96fc",
  "rgb": {
    "r": 170,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 251.765,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73211,
    "c": 0.14549,
    "h": 291.4
  },
  "luminance": 0.37387
}

Semantic roles & 50–950 ramp

primary
#AA96FC
secondary
#F0F6D5
accent
#E600B8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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