#AA91FE#AA91FE

#AA91FE is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.4% C 0.156 H 292.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#AA91FE
RGBrgb(170, 145, 254)
HSLhsl(254, 98%, 78%)
HSVhsv(254, 43%, 100%)
CMYKcmyk(33.1%, 42.9%, 0%, 0.4%)
CIE-LABlab(66.48, 32.97, -51.11)
CIE-LCHlch(66.48, 60.82, 302.83°)
OKLaboklab(72.42% 0.0599 -0.1436)
OKLCHoklch(72.42% 0.156 292.6)
XYZxyz(44.5878, 35.9517, 98.3369)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA91FE #E5FE91
analogous
#91AEFE #AA91FE #E091FE
triadic
#AA91FE #FEAA91 #91FEAA
tetradic
#AA91FE #FE91AE #E5FE91 #91FEE0
square
#AA91FE #FE91AE #E5FE91 #91FEE0
split-complementary
#AA91FE #FEE091 #AEFE91
monochromatic
#4C18FD #7B54FD #AA91FE #D9CEFF #E8E1FF

Accessibility & contrast

On white

2.56
#AA91FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#AA91FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA91FE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA91FE#FFFFFF#000000##000000
##AA91FE1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#71A0FB
Tritanopia (blue-blind)
#96A5BB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa91fe;
/* rgb */ color: rgb(170, 145, 254);
/* oklch */ color: oklch(72.4% 0.156 292.6);
Tailwind
colors: {
  custom: {
    50: '#c6b1ff',
    500: '#aa91fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa91fe;
$custom-light: #c6b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa91fe",
  "rgb": {
    "r": 170,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 253.761,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.72423,
    "c": 0.15561,
    "h": 292.6
  },
  "luminance": 0.35953
}

Semantic roles & 50–950 ramp

primary
#AA91FE
secondary
#EFF7D4
accent
#E600B1
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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