#AA81FC#AA81FC

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

Color values

HEX#AA81FC
RGBrgb(170, 129, 252)
HSLhsl(260, 95%, 75%)
HSVhsv(260, 49%, 99%)
CMYKcmyk(32.5%, 48.8%, 0%, 1.2%)
CIE-LABlab(62.74, 41.43, -55.96)
CIE-LCHlch(62.74, 69.62, 306.52°)
OKLaboklab(69.58% 0.0802 -0.1578)
OKLCHoklch(69.58% 0.177 296.9)
XYZxyz(41.9942, 31.2743, 95.9007)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81FC #D3FC81
analogous
#8196FC #AA81FC #E881FC
triadic
#AA81FC #FCAA81 #81FCAA
tetradic
#AA81FC #FC8196 #D3FC81 #81FCE8
square
#AA81FC #FC8196 #D3FC81 #81FCE8
split-complementary
#AA81FC #FCE881 #96FC81
monochromatic
#5909F9 #8245FB #AA81FC #D2BDFD #EBE1FE

Accessibility & contrast

On white

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

On black

7.25
#AA81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81FC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81FC#FFFFFF#000000##000000
##AA81FC1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa81fc;
/* rgb */ color: rgb(170, 129, 252);
/* oklch */ color: oklch(69.6% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#c7a6fe',
    500: '#aa81fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa81fc;
$custom-light: #c7a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81fc",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 260,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69576,
    "c": 0.17698,
    "h": 296.9
  },
  "luminance": 0.31275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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