#AA81ED#AA81ED

#AA81ED is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.7% C 0.158 H 299.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AA81ED
RGBrgb(170, 129, 237)
HSLhsl(263, 75%, 72%)
HSVhsv(263, 46%, 93%)
CMYKcmyk(28.3%, 45.6%, 0%, 7.1%)
CIE-LABlab(61.96, 37.73, -48.92)
CIE-LCHlch(61.96, 61.78, 307.65°)
OKLaboklab(68.75% 0.0785 -0.1372)
OKLCHoklch(68.75% 0.158 299.8)
XYZxyz(39.7103, 30.3608, 83.8725)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81ED #C4ED81
analogous
#818EED #AA81ED #E081ED
triadic
#AA81ED #EDAA81 #81EDAA
tetradic
#AA81ED #ED818E #C4ED81 #81EDE0
square
#AA81ED #ED818E #C4ED81 #81EDE0
split-complementary
#AA81ED #EDE081 #8EED81
monochromatic
#641ED5 #864BE5 #AA81ED #CEB7F5 #EDE4FB

Accessibility & contrast

On white

2.97
#AA81ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AA81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81ED
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81ED#FFFFFF#000000##000000
##AA81ED1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F1
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#9D94AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa81ed;
/* rgb */ color: rgb(170, 129, 237);
/* oklch */ color: oklch(68.7% 0.158 299.8);
Tailwind
colors: {
  custom: {
    50: '#c6a6f3',
    500: '#aa81ed',
    950: '#000000',
  },
}
SCSS
$custom: #aa81ed;
$custom-light: #c6a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81ed",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 262.778,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68745,
    "c": 0.15808,
    "h": 299.8
  },
  "luminance": 0.30361
}

Semantic roles & 50–950 ramp

primary
#AA81ED
secondary
#E8F3D7
accent
#D70E8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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