#AA81F9#AA81F9

#AA81F9 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.4% C 0.173 H 297.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AA81F9
RGBrgb(170, 129, 249)
HSLhsl(261, 91%, 74%)
HSVhsv(261, 48%, 98%)
CMYKcmyk(31.7%, 48.2%, 0%, 2.4%)
CIE-LABlab(62.58, 40.68, -54.56)
CIE-LCHlch(62.58, 68.06, 306.71°)
OKLaboklab(69.41% 0.0799 -0.1537)
OKLCHoklch(69.41% 0.173 297.5)
XYZxyz(41.5225, 31.0856, 93.4167)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81F9 #D0F981
analogous
#8194F9 #AA81F9 #E681F9
triadic
#AA81F9 #F9AA81 #81F9AA
tetradic
#AA81F9 #F98194 #D0F981 #81F9E6
square
#AA81F9 #F98194 #D0F981 #81F9E6
split-complementary
#AA81F9 #F9E681 #94F981
monochromatic
#5B0CF3 #8347F6 #AA81F9 #D1BBFC #EBE2FE

Accessibility & contrast

On white

2.91
#AA81F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AA81F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81F9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81F9#FFFFFF#000000##000000
##AA81F91.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#6196F6
Tritanopia (blue-blind)
#9998B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa81f9;
/* rgb */ color: rgb(170, 129, 249);
/* oklch */ color: oklch(69.4% 0.173 297.5);
Tailwind
colors: {
  custom: {
    50: '#c6a6fc',
    500: '#aa81f9',
    950: '#000000',
  },
}
SCSS
$custom: #aa81f9;
$custom-light: #c6a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81f9",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 260.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69407,
    "c": 0.17322,
    "h": 297.5
  },
  "luminance": 0.31086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA81F9

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

Preview Lab → · Contrast checker → · Palette generator →

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