#AA8EFF#AA8EFF

#AA8EFF is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.161 H 293.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AA8EFF
RGBrgb(170, 142, 255)
HSLhsl(255, 100%, 78%)
HSVhsv(255, 44%, 100%)
CMYKcmyk(33.3%, 44.3%, 0%, 0%)
CIE-LABlab(65.84, 34.92, -52.68)
CIE-LCHlch(65.84, 63.20, 303.54°)
OKLaboklab(71.95% 0.0639 -0.1482)
OKLCHoklch(71.95% 0.161 293.3)
XYZxyz(44.2959, 35.1112, 99.0317)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EFF #E3FF8E
analogous
#8EAAFF #AA8EFF #E28EFF
triadic
#AA8EFF #FFAA8E #8EFFAA
tetradic
#AA8EFF #FF8EAA #E3FF8E #8EFFE2
square
#AA8EFF #FF8EAA #E3FF8E #8EFFE2
split-complementary
#AA8EFF #FFE28E #AAFF8E
monochromatic
#4E14FF #7C51FF #AA8EFF #D8CBFF #E8E0FF

Accessibility & contrast

On white

2.62
#AA8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AA8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EFF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EFF#FFFFFF#000000##000000
##AA8EFF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#6D9EFC
Tritanopia (blue-blind)
#96A3BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa8eff;
/* rgb */ color: rgb(170, 142, 255);
/* oklch */ color: oklch(72.0% 0.161 293.3);
Tailwind
colors: {
  custom: {
    50: '#c6afff',
    500: '#aa8eff',
    950: '#000000',
  },
}
SCSS
$custom: #aa8eff;
$custom-light: #c6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8eff",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 254.867,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.1614,
    "h": 293.3
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#AA8EFF
secondary
#EFF7D4
accent
#E600AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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