#AA8AFF#AA8AFF

#AA8AFF is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.3% C 0.167 H 294.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AA8AFF
RGBrgb(170, 138, 255)
HSLhsl(256, 100%, 77%)
HSVhsv(256, 46%, 100%)
CMYKcmyk(33.3%, 45.9%, 0%, 0%)
CIE-LABlab(64.92, 37.16, -54.14)
CIE-LCHlch(64.92, 65.67, 304.47°)
OKLaboklab(71.26% 0.069 -0.1525)
OKLCHoklch(71.26% 0.167 294.4)
XYZxyz(43.7115, 33.9422, 98.8369)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AFF #DFFF8A
analogous
#8AA5FF #AA8AFF #E48AFF
triadic
#AA8AFF #FFAA8A #8AFFAA
tetradic
#AA8AFF #FF8AA5 #DFFF8A #8AFFE4
square
#AA8AFF #FF8AA5 #DFFF8A #8AFFE4
split-complementary
#AA8AFF #FFE48A #A5FF8A
monochromatic
#5110FF #7E4DFF #AA8AFF #D6C7FF #E9E0FF

Accessibility & contrast

On white

2.70
#AA8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#AA8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AFF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AFF#FFFFFF#000000##000000
##AA8AFF1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#689CFC
Tritanopia (blue-blind)
#96A0B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8aff;
/* rgb */ color: rgb(170, 138, 255);
/* oklch */ color: oklch(71.3% 0.167 294.4);
Tailwind
colors: {
  custom: {
    50: '#c6acff',
    500: '#aa8aff',
    950: '#000000',
  },
}
SCSS
$custom: #aa8aff;
$custom-light: #c6acff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8aff",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 256.41,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71259,
    "c": 0.16736,
    "h": 294.4
  },
  "luminance": 0.33943
}

Semantic roles & 50–950 ramp

primary
#AA8AFF
secondary
#EEF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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