#AA8AF6#AA8AF6

#AA8AF6 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.156 H 295.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AA8AF6
RGBrgb(170, 138, 246)
HSLhsl(258, 86%, 75%)
HSVhsv(258, 44%, 96%)
CMYKcmyk(30.9%, 43.9%, 0%, 3.5%)
CIE-LABlab(64.46, 34.90, -49.92)
CIE-LCHlch(64.46, 60.91, 304.96°)
OKLaboklab(70.77% 0.0678 -0.1402)
OKLCHoklch(70.77% 0.156 295.8)
XYZxyz(42.2965, 33.3762, 91.3848)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AF6 #D6F68A
analogous
#8AA0F6 #AA8AF6 #E08AF6
triadic
#AA8AF6 #F6AA8A #8AF6AA
tetradic
#AA8AF6 #F68AA0 #D6F68A #8AF6E0
square
#AA8AF6 #F68AA0 #D6F68A #8AF6E0
split-complementary
#AA8AF6 #F6E08A #A0F68A
monochromatic
#5718ED #8151F2 #AA8AF6 #D3C3FA #EAE3FD

Accessibility & contrast

On white

2.74
#AA8AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AA8AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AF6
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AF6#FFFFFF#000000##000000
##AA8AF61.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#999EB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa8af6;
/* rgb */ color: rgb(170, 138, 246);
/* oklch */ color: oklch(70.8% 0.156 295.8);
Tailwind
colors: {
  custom: {
    50: '#c6acf9',
    500: '#aa8af6',
    950: '#000000',
  },
}
SCSS
$custom: #aa8af6;
$custom-light: #c6acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8af6",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 246
  },
  "hsl": {
    "h": 257.778,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70771,
    "c": 0.15571,
    "h": 295.8
  },
  "luminance": 0.33377
}

Semantic roles & 50–950 ramp

primary
#AA8AF6
secondary
#ECF5D6
accent
#E203A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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