#AA81DF#AA81DF

#AA81DF is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.0% C 0.140 H 303.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AA81DF
RGBrgb(170, 129, 223)
HSLhsl(266, 59%, 69%)
HSVhsv(266, 42%, 87%)
CMYKcmyk(23.8%, 42.2%, 0%, 12.5%)
CIE-LABlab(61.29, 34.39, -42.21)
CIE-LCHlch(61.29, 54.44, 309.17°)
OKLaboklab(68.01% 0.0764 -0.1177)
OKLCHoklch(68.01% 0.14 303)
XYZxyz(37.7442, 29.5743, 73.5177)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81DF #B6DF81
analogous
#8187DF #AA81DF #D981DF
triadic
#AA81DF #DFAA81 #81DFAA
tetradic
#AA81DF #DF8187 #B6DF81 #81DFD9
square
#AA81DF #DF8187 #B6DF81 #81DFD9
split-complementary
#AA81DF #DFD981 #87DF81
monochromatic
#6A2FB7 #8950D3 #AA81DF #CBB2EB #ECE3F8

Accessibility & contrast

On white

3.04
#AA81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#AA81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA81DF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81DF#FFFFFF#000000##000000
##AA81DF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E2
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#A191A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa81df;
/* rgb */ color: rgb(170, 129, 223);
/* oklch */ color: oklch(68.0% 0.140 303.0);
Tailwind
colors: {
  custom: {
    50: '#c5a6e9',
    500: '#aa81df',
    950: '#000000',
  },
}
SCSS
$custom: #aa81df;
$custom-light: #c5a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81df",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 266.17,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.14033,
    "h": 303
  },
  "luminance": 0.29574
}

Semantic roles & 50–950 ramp

primary
#AA81DF
secondary
#E0ECD0
accent
#C71E7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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