#AA81CC#AA81CC

#AA81CC is a light, moderate violet. Relative luminance 0.286; OKLCH L 67.1% C 0.116 H 308.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AA81CC
RGBrgb(170, 129, 204)
HSLhsl(273, 42%, 65%)
HSVhsv(273, 37%, 80%)
CMYKcmyk(16.7%, 36.8%, 0%, 20%)
CIE-LABlab(60.43, 30.04, -32.89)
CIE-LCHlch(60.43, 44.54, 312.40°)
OKLaboklab(67.09% 0.0726 -0.0909)
OKLCHoklch(67.09% 0.116 308.6)
XYZxyz(35.3249, 28.6066, 60.7757)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81CC #A3CC81
analogous
#8481CC #AA81CC #CC81C8
triadic
#AA81CC #CCAA81 #81CCAA
tetradic
#AA81CC #CC8481 #A3CC81 #81C8CC
square
#AA81CC #CC8481 #A3CC81 #81C8CC
split-complementary
#AA81CC #C8CC81 #81CC84
monochromatic
#6D3D96 #8D55BA #AA81CC #C7ADDE #E5D8EF

Accessibility & contrast

On white

3.12
#AA81CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#AA81CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA81CC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81CC#FFFFFF#000000##000000
##AA81CC1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#A68C9D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa81cc;
/* rgb */ color: rgb(170, 129, 204);
/* oklch */ color: oklch(67.1% 0.116 308.6);
Tailwind
colors: {
  custom: {
    50: '#c4a6dc',
    500: '#aa81cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa81cc;
$custom-light: #c4a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81cc",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 272.8,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67089,
    "c": 0.1163,
    "h": 308.6
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#AA81CC
secondary
#D3E1C8
accent
#B5306D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA81CC

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

Preview Lab → · Contrast checker → · Palette generator →

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