#AA81F7#AA81F7

#AA81F7 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.3% C 0.171 H 297.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#AA81F7
RGBrgb(170, 129, 247)
HSLhsl(261, 88%, 74%)
HSVhsv(261, 48%, 97%)
CMYKcmyk(31.2%, 47.8%, 0%, 3.1%)
CIE-LABlab(62.48, 40.19, -53.63)
CIE-LCHlch(62.48, 67.01, 306.85°)
OKLaboklab(69.29% 0.0797 -0.151)
OKLCHoklch(69.29% 0.171 297.8)
XYZxyz(41.2123, 30.9615, 91.7826)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81F7 #CEF781
analogous
#8193F7 #AA81F7 #E581F7
triadic
#AA81F7 #F7AA81 #81F7AA
tetradic
#AA81F7 #F78193 #CEF781 #81F7E5
square
#AA81F7 #F78193 #CEF781 #81F7E5
split-complementary
#AA81F7 #F7E581 #93F781
monochromatic
#5D0FEE #8347F3 #AA81F7 #D1BBFB #ECE2FD

Accessibility & contrast

On white

2.92
#AA81F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#AA81F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81F7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81F7#FFFFFF#000000##000000
##AA81F71.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#6396F4
Tritanopia (blue-blind)
#9A97B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa81f7;
/* rgb */ color: rgb(170, 129, 247);
/* oklch */ color: oklch(69.3% 0.171 297.8);
Tailwind
colors: {
  custom: {
    50: '#c6a6fa',
    500: '#aa81f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa81f7;
$custom-light: #c6a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81f7",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 260.847,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.17071,
    "h": 297.8
  },
  "luminance": 0.30962
}

Semantic roles & 50–950 ramp

primary
#AA81F7
secondary
#EAF5D6
accent
#E50195
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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