#AA81FD#AA81FD

#AA81FD is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.178 H 296.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AA81FD
RGBrgb(170, 129, 253)
HSLhsl(260, 97%, 75%)
HSVhsv(260, 49%, 99%)
CMYKcmyk(32.8%, 49%, 0%, 0.8%)
CIE-LABlab(62.79, 41.68, -56.42)
CIE-LCHlch(62.79, 70.15, 306.45°)
OKLaboklab(69.63% 0.0803 -0.1591)
OKLCHoklch(69.63% 0.178 296.8)
XYZxyz(42.1530, 31.3378, 96.7374)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81FD #D4FD81
analogous
#8196FD #AA81FD #E881FD
triadic
#AA81FD #FDAA81 #81FDAA
tetradic
#AA81FD #FD8196 #D4FD81 #81FDE8
square
#AA81FD #FD8196 #D4FD81 #81FDE8
split-complementary
#AA81FD #FDE881 #96FD81
monochromatic
#5909FB #8145FC #AA81FD #D3BDFE #EBE1FF

Accessibility & contrast

On white

2.89
#AA81FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AA81FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81FD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81FD#FFFFFF#000000##000000
##AA81FD1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#9899B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa81fd;
/* rgb */ color: rgb(170, 129, 253);
/* oklch */ color: oklch(69.6% 0.178 296.8);
Tailwind
colors: {
  custom: {
    50: '#c7a6ff',
    500: '#aa81fd',
    950: '#000000',
  },
}
SCSS
$custom: #aa81fd;
$custom-light: #c7a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81fd",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 259.839,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69634,
    "c": 0.17824,
    "h": 296.8
  },
  "luminance": 0.31338
}

Semantic roles & 50–950 ramp

primary
#AA81FD
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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