#AA81CF#AA81CF

#AA81CF is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.2% C 0.120 H 307.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AA81CF
RGBrgb(170, 129, 207)
HSLhsl(272, 45%, 66%)
HSVhsv(272, 38%, 81%)
CMYKcmyk(17.9%, 37.7%, 0%, 18.8%)
CIE-LABlab(60.56, 30.71, -34.38)
CIE-LCHlch(60.56, 46.10, 311.77°)
OKLaboklab(67.23% 0.0733 -0.0951)
OKLCHoklch(67.23% 0.12 307.6)
XYZxyz(35.6881, 28.7519, 62.6890)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81CF #A6CF81
analogous
#8381CF #AA81CF #CF81CD
triadic
#AA81CF #CFAA81 #81CFAA
tetradic
#AA81CF #CF8381 #A6CF81 #81CDCF
square
#AA81CF #CF8381 #A6CF81 #81CDCF
split-complementary
#AA81CF #CDCF81 #81CF83
monochromatic
#6D3B9B #8C55BE #AA81CF #C8ADE0 #E6DAF1

Accessibility & contrast

On white

3.11
#AA81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AA81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA81CF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81CF#FFFFFF#000000##000000
##AA81CF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D2
Deuteranopia (green-blind)
#7A93CD
Tritanopia (blue-blind)
#A58D9E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa81cf;
/* rgb */ color: rgb(170, 129, 207);
/* oklch */ color: oklch(67.2% 0.120 307.6);
Tailwind
colors: {
  custom: {
    50: '#c4a6de',
    500: '#aa81cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa81cf;
$custom-light: #c4a6de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81cf",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 271.538,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6723,
    "c": 0.12006,
    "h": 307.6
  },
  "luminance": 0.28752
}

Semantic roles & 50–950 ramp

primary
#AA81CF
secondary
#D5E3C9
accent
#B82E6F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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