#AA81DC#AA81DC

#AA81DC is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.137 H 303.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AA81DC
RGBrgb(170, 129, 220)
HSLhsl(267, 57%, 68%)
HSVhsv(267, 41%, 86%)
CMYKcmyk(22.7%, 41.4%, 0%, 13.7%)
CIE-LABlab(61.15, 33.69, -40.75)
CIE-LCHlch(61.15, 52.87, 309.58°)
OKLaboklab(67.86% 0.0758 -0.1135)
OKLCHoklch(67.86% 0.137 303.7)
XYZxyz(37.3434, 29.4140, 71.4064)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81DC #B3DC81
analogous
#8185DC #AA81DC #D781DC
triadic
#AA81DC #DCAA81 #81DCAA
tetradic
#AA81DC #DC8185 #B3DC81 #81DCD7
square
#AA81DC #DC8185 #B3DC81 #81DCD7
split-complementary
#AA81DC #DCD781 #85DC81
monochromatic
#6B31B1 #8A51CF #AA81DC #CAB1E9 #EBE1F7

Accessibility & contrast

On white

3.05
#AA81DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AA81DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA81DC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81DC#FFFFFF#000000##000000
##AA81DC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#7494DA
Tritanopia (blue-blind)
#A290A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa81dc;
/* rgb */ color: rgb(170, 129, 220);
/* oklch */ color: oklch(67.9% 0.137 303.7);
Tailwind
colors: {
  custom: {
    50: '#c5a6e7',
    500: '#aa81dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa81dc;
$custom-light: #c5a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81dc",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 267.033,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67862,
    "c": 0.13651,
    "h": 303.7
  },
  "luminance": 0.29414
}

Semantic roles & 50–950 ramp

primary
#AA81DC
secondary
#DEEACF
accent
#C4217B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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