#AA81FA#AA81FA

#AA81FA is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.174 H 297.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AA81FA
RGBrgb(170, 129, 250)
HSLhsl(260, 92%, 74%)
HSVhsv(260, 48%, 98%)
CMYKcmyk(32%, 48.4%, 0%, 2%)
CIE-LABlab(62.63, 40.93, -55.03)
CIE-LCHlch(62.63, 68.58, 306.64°)
OKLaboklab(69.46% 0.08 -0.1551)
OKLCHoklch(69.46% 0.174 297.3)
XYZxyz(41.6789, 31.1482, 94.2403)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81FA #D1FA81
analogous
#8195FA #AA81FA #E781FA
triadic
#AA81FA #FAAA81 #81FAAA
tetradic
#AA81FA #FA8195 #D1FA81 #81FAE7
square
#AA81FA #FA8195 #D1FA81 #81FAE7
split-complementary
#AA81FA #FAE781 #95FA81
monochromatic
#5B0BF5 #8246F8 #AA81FA #D2BCFC #EBE2FE

Accessibility & contrast

On white

2.90
#AA81FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AA81FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81FA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81FA#FFFFFF#000000##000000
##AA81FA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#9998B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa81fa;
/* rgb */ color: rgb(170, 129, 250);
/* oklch */ color: oklch(69.5% 0.174 297.3);
Tailwind
colors: {
  custom: {
    50: '#c6a6fc',
    500: '#aa81fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa81fa;
$custom-light: #c6a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81fa",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 260.331,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.17448,
    "h": 297.3
  },
  "luminance": 0.31149
}

Semantic roles & 50–950 ramp

primary
#AA81FA
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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