#AA81FE#AA81FE

#AA81FE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.179 H 296.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AA81FE
RGBrgb(170, 129, 254)
HSLhsl(260, 98%, 75%)
HSVhsv(260, 49%, 100%)
CMYKcmyk(33.1%, 49.2%, 0%, 0.4%)
CIE-LABlab(62.85, 41.93, -56.88)
CIE-LCHlch(62.85, 70.67, 306.39°)
OKLaboklab(69.69% 0.0804 -0.1605)
OKLCHoklch(69.69% 0.179 296.6)
XYZxyz(42.3128, 31.4017, 97.5786)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81FE #D5FE81
analogous
#8196FE #AA81FE #E881FE
triadic
#AA81FE #FEAA81 #81FEAA
tetradic
#AA81FE #FE8196 #D5FE81 #81FEE8
square
#AA81FE #FE8196 #D5FE81 #81FEE8
split-complementary
#AA81FE #FEE881 #96FE81
monochromatic
#5808FD #8144FE #AA81FE #D3BEFE #EBE1FF

Accessibility & contrast

On white

2.88
#AA81FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AA81FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81FE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81FE#FFFFFF#000000##000000
##AA81FE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#9799B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa81fe;
/* rgb */ color: rgb(170, 129, 254);
/* oklch */ color: oklch(69.7% 0.179 296.6);
Tailwind
colors: {
  custom: {
    50: '#c7a6ff',
    500: '#aa81fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa81fe;
$custom-light: #c7a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81fe",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 259.68,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69691,
    "c": 0.17948,
    "h": 296.6
  },
  "luminance": 0.31402
}

Semantic roles & 50–950 ramp

primary
#AA81FE
secondary
#ECF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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