#AA81FB#AA81FB

#AA81FB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.5% C 0.176 H 297.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AA81FB
RGBrgb(170, 129, 251)
HSLhsl(260, 94%, 75%)
HSVhsv(260, 49%, 98%)
CMYKcmyk(32.3%, 48.6%, 0%, 1.6%)
CIE-LABlab(62.69, 41.18, -55.49)
CIE-LCHlch(62.69, 69.10, 306.58°)
OKLaboklab(69.52% 0.0801 -0.1564)
OKLCHoklch(69.52% 0.176 297.1)
XYZxyz(41.8361, 31.2111, 95.0683)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81FB #D2FB81
analogous
#8195FB #AA81FB #E781FB
triadic
#AA81FB #FBAA81 #81FBAA
tetradic
#AA81FB #FB8195 #D2FB81 #81FBE7
square
#AA81FB #FB8195 #D2FB81 #81FBE7
split-complementary
#AA81FB #FBE781 #95FB81
monochromatic
#5A0AF7 #8246F9 #AA81FB #D2BCFD #EBE1FE

Accessibility & contrast

On white

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

On black

7.24
#AA81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81FB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81FB#FFFFFF#000000##000000
##AA81FB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#9898B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa81fb;
/* rgb */ color: rgb(170, 129, 251);
/* oklch */ color: oklch(69.5% 0.176 297.1);
Tailwind
colors: {
  custom: {
    50: '#c7a6fd',
    500: '#aa81fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa81fb;
$custom-light: #c7a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81fb",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 260.164,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.17573,
    "h": 297.1
  },
  "luminance": 0.31212
}

Semantic roles & 50–950 ramp

primary
#AA81FB
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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