#AA81F0#AA81F0

#AA81F0 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.162 H 299.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AA81F0
RGBrgb(170, 129, 240)
HSLhsl(262, 79%, 72%)
HSVhsv(262, 46%, 94%)
CMYKcmyk(29.2%, 46.3%, 0%, 5.9%)
CIE-LABlab(62.12, 38.47, -50.34)
CIE-LCHlch(62.12, 63.35, 307.39°)
OKLaboklab(68.91% 0.0789 -0.1414)
OKLCHoklch(68.91% 0.162 299.2)
XYZxyz(40.1523, 30.5375, 86.2001)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81F0 #C7F081
analogous
#8190F0 #AA81F0 #E181F0
triadic
#AA81F0 #F0AA81 #81F0AA
tetradic
#AA81F0 #F08190 #C7F081 #81F0E1
square
#AA81F0 #F08190 #C7F081 #81F0E1
split-complementary
#AA81F0 #F0E181 #90F081
monochromatic
#621ADC #854AE9 #AA81F0 #CFB8F7 #EDE4FC

Accessibility & contrast

On white

2.95
#AA81F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AA81F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81F0
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81F0#FFFFFF#000000##000000
##AA81F01.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F4
Deuteranopia (green-blind)
#6895ED
Tritanopia (blue-blind)
#9C95AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa81f0;
/* rgb */ color: rgb(170, 129, 240);
/* oklch */ color: oklch(68.9% 0.162 299.2);
Tailwind
colors: {
  custom: {
    50: '#c6a6f5',
    500: '#aa81f0',
    950: '#000000',
  },
}
SCSS
$custom: #aa81f0;
$custom-light: #c6a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81f0",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 240
  },
  "hsl": {
    "h": 262.162,
    "s": 78.723,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68908,
    "c": 0.16187,
    "h": 299.2
  },
  "luminance": 0.30538
}

Semantic roles & 50–950 ramp

primary
#AA81F0
secondary
#E9F4D7
accent
#DB0A8E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81F0

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

Preview Lab → · Contrast checker → · Palette generator →

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