#AA81F2#AA81F2

#AA81F2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.0% C 0.164 H 298.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#AA81F2
RGBrgb(170, 129, 242)
HSLhsl(262, 81%, 73%)
HSVhsv(262, 47%, 95%)
CMYKcmyk(29.8%, 46.7%, 0%, 5.1%)
CIE-LABlab(62.22, 38.96, -51.28)
CIE-LCHlch(62.22, 64.40, 307.22°)
OKLaboklab(69.02% 0.0791 -0.1441)
OKLCHoklch(69.02% 0.164 298.8)
XYZxyz(40.4510, 30.6570, 87.7735)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81F2 #C9F281
analogous
#8190F2 #AA81F2 #E381F2
triadic
#AA81F2 #F2AA81 #81F2AA
tetradic
#AA81F2 #F28190 #C9F281 #81F2E3
square
#AA81F2 #F28190 #C9F281 #81F2E3
split-complementary
#AA81F2 #F2E381 #90F281
monochromatic
#6117E1 #854AEC #AA81F2 #CFB8F8 #ECE3FC

Accessibility & contrast

On white

2.94
#AA81F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#AA81F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81F2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81F2#FFFFFF#000000##000000
##AA81F21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#6695EF
Tritanopia (blue-blind)
#9B96AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa81f2;
/* rgb */ color: rgb(170, 129, 242);
/* oklch */ color: oklch(69.0% 0.164 298.8);
Tailwind
colors: {
  custom: {
    50: '#c6a6f7',
    500: '#aa81f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa81f2;
$custom-light: #c6a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81f2",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 261.77,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69017,
    "c": 0.1644,
    "h": 298.8
  },
  "luminance": 0.30657
}

Semantic roles & 50–950 ramp

primary
#AA81F2
secondary
#E9F4D7
accent
#DE0890
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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