#AA81FF#AA81FF

#AA81FF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.181 H 296.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#AA81FF
RGBrgb(170, 129, 255)
HSLhsl(260, 100%, 75%)
HSVhsv(260, 49%, 100%)
CMYKcmyk(33.3%, 49.4%, 0%, 0%)
CIE-LABlab(62.90, 42.18, -57.35)
CIE-LCHlch(62.90, 71.19, 306.34°)
OKLaboklab(69.75% 0.0804 -0.1618)
OKLCHoklch(69.75% 0.181 296.4)
XYZxyz(42.4733, 31.4659, 98.4242)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81FF #D6FF81
analogous
#8197FF #AA81FF #E981FF
triadic
#AA81FF #FFAA81 #81FFAA
tetradic
#AA81FF #FF8197 #D6FF81 #81FFE9
square
#AA81FF #FF8197 #D6FF81 #81FFE9
split-complementary
#AA81FF #FFE981 #97FF81
monochromatic
#5707FF #8144FF #AA81FF #D3BEFF #EAE0FF

Accessibility & contrast

On white

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

On black

7.29
#AA81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81FF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81FF#FFFFFF#000000##000000
##AA81FF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa81ff;
/* rgb */ color: rgb(170, 129, 255);
/* oklch */ color: oklch(69.7% 0.181 296.4);
Tailwind
colors: {
  custom: {
    50: '#c7a6ff',
    500: '#aa81ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa81ff;
$custom-light: #c7a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81ff",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 259.524,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69748,
    "c": 0.18074,
    "h": 296.4
  },
  "luminance": 0.31467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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