#AA81CA#AA81CA

#AA81CA is a light, moderate violet. Relative luminance 0.285; OKLCH L 67.0% C 0.114 H 309.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AA81CA
RGBrgb(170, 129, 202)
HSLhsl(274, 41%, 65%)
HSVhsv(274, 36%, 79%)
CMYKcmyk(15.8%, 36.1%, 0%, 20.8%)
CIE-LABlab(60.35, 29.59, -31.90)
CIE-LCHlch(60.35, 43.51, 312.85°)
OKLaboklab(67% 0.0721 -0.088)
OKLCHoklch(67% 0.114 309.3)
XYZxyz(35.0865, 28.5112, 59.5205)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81CA #A1CA81
analogous
#8681CA #AA81CA #CA81C5
triadic
#AA81CA #CAAA81 #81CAAA
tetradic
#AA81CA #CA8681 #A1CA81 #81C5CA
square
#AA81CA #CA8681 #A1CA81 #81C5CA
split-complementary
#AA81CA #C5CA81 #81CA86
monochromatic
#6E3E93 #8D56B8 #AA81CA #C7ACDC #E4D7EE

Accessibility & contrast

On white

3.13
#AA81CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AA81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA81CA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81CA#FFFFFF#000000##000000
##AA81CA1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#A68B9C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa81ca;
/* rgb */ color: rgb(170, 129, 202);
/* oklch */ color: oklch(67.0% 0.114 309.3);
Tailwind
colors: {
  custom: {
    50: '#c4a6da',
    500: '#aa81ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa81ca;
$custom-light: #c4a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81ca",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 273.699,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66997,
    "c": 0.11379,
    "h": 309.3
  },
  "luminance": 0.28511
}

Semantic roles & 50–950 ramp

primary
#AA81CA
secondary
#D2E0C7
accent
#B4326B
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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