#AA8AEF#AA8AEF

#AA8AEF is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.147 H 297.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AA8AEF
RGBrgb(170, 138, 239)
HSLhsl(259, 76%, 74%)
HSVhsv(259, 42%, 94%)
CMYKcmyk(28.9%, 42.3%, 0%, 6.3%)
CIE-LABlab(64.12, 33.17, -46.61)
CIE-LCHlch(64.12, 57.21, 305.44°)
OKLaboklab(70.4% 0.0667 -0.1305)
OKLCHoklch(70.4% 0.147 297.1)
XYZxyz(41.2423, 32.9546, 85.8327)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AEF #CFEF8A
analogous
#8A9DEF #AA8AEF #DD8AEF
triadic
#AA8AEF #EFAA8A #8AEFAA
tetradic
#AA8AEF #EF8A9D #CFEF8A #8AEFDD
square
#AA8AEF #EF8A9D #CFEF8A #8AEFDD
split-complementary
#AA8AEF #EFDD8A #9DEF8A
monochromatic
#5C1FE0 #8354E8 #AA8AEF #D1C0F6 #EBE4FB

Accessibility & contrast

On white

2.77
#AA8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AA8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AEF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AEF#FFFFFF#000000##000000
##AA8AEF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#9C9CB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa8aef;
/* rgb */ color: rgb(170, 138, 239);
/* oklch */ color: oklch(70.4% 0.147 297.1);
Tailwind
colors: {
  custom: {
    50: '#c5acf4',
    500: '#aa8aef',
    950: '#000000',
  },
}
SCSS
$custom: #aa8aef;
$custom-light: #c5acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8aef",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 259.01,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.14659,
    "h": 297.1
  },
  "luminance": 0.32955
}

Semantic roles & 50–950 ramp

primary
#AA8AEF
secondary
#EAF3D8
accent
#D80D98
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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