#AA91FC#AA91FC

#AA91FC is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.3% C 0.153 H 292.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AA91FC
RGBrgb(170, 145, 252)
HSLhsl(254, 95%, 78%)
HSVhsv(254, 42%, 99%)
CMYKcmyk(32.5%, 42.5%, 0%, 1.2%)
CIE-LABlab(66.39, 32.47, -50.17)
CIE-LCHlch(66.39, 59.76, 302.91°)
OKLaboklab(72.32% 0.0596 -0.1409)
OKLCHoklch(72.32% 0.153 292.9)
XYZxyz(44.2692, 35.8243, 96.6590)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA91FC #E3FC91
analogous
#91ADFC #AA91FC #E091FC
triadic
#AA91FC #FCAA91 #91FCAA
tetradic
#AA91FC #FC91AD #E3FC91 #91FCE0
square
#AA91FC #FC91AD #E3FC91 #91FCE0
split-complementary
#AA91FC #FCE091 #ADFC91
monochromatic
#4E1AF9 #7C55FA #AA91FC #D8CDFE #E8E1FE

Accessibility & contrast

On white

2.57
#AA91FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#AA91FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA91FC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA91FC#FFFFFF#000000##000000
##AA91FC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#72A0F9
Tritanopia (blue-blind)
#97A5BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa91fc;
/* rgb */ color: rgb(170, 145, 252);
/* oklch */ color: oklch(72.3% 0.153 292.9);
Tailwind
colors: {
  custom: {
    50: '#c6b1fe',
    500: '#aa91fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa91fc;
$custom-light: #c6b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa91fc",
  "rgb": {
    "r": 170,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 254.019,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72317,
    "c": 0.15297,
    "h": 292.9
  },
  "luminance": 0.35825
}

Semantic roles & 50–950 ramp

primary
#AA91FC
secondary
#EFF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA91FC

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

Preview Lab → · Contrast checker → · Palette generator →

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