#AA8EE7#AA8EE7

#AA8EE7 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.7% C 0.130 H 297.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AA8EE7
RGBrgb(170, 142, 231)
HSLhsl(259, 65%, 73%)
HSVhsv(259, 39%, 91%)
CMYKcmyk(26.4%, 38.5%, 0%, 9.4%)
CIE-LABlab(64.69, 28.96, -41.30)
CIE-LCHlch(64.69, 50.44, 305.04°)
OKLaboklab(70.71% 0.0599 -0.1151)
OKLCHoklch(70.71% 0.13 297.5)
XYZxyz(40.6710, 33.6612, 79.9404)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EE7 #CBE78E
analogous
#8E9EE7 #AA8EE7 #D68EE7
triadic
#AA8EE7 #E7AA8E #8EE7AA
tetradic
#AA8EE7 #E78E9E #CBE78E #8EE7D6
square
#AA8EE7 #E78E9E #CBE78E #8EE7D6
split-complementary
#AA8EE7 #E7D68E #9EE78E
monochromatic
#5F2CCF #845CDC #AA8EE7 #D0C0F2 #ECE6FA

Accessibility & contrast

On white

2.72
#AA8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AA8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EE7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EE7#FFFFFF#000000##000000
##AA8EE71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEA
Deuteranopia (green-blind)
#7B9CE5
Tritanopia (blue-blind)
#9E9DB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8ee7;
/* rgb */ color: rgb(170, 142, 231);
/* oklch */ color: oklch(70.7% 0.130 297.5);
Tailwind
colors: {
  custom: {
    50: '#c5afef',
    500: '#aa8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ee7;
$custom-light: #c5afef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ee7",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 258.876,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70712,
    "c": 0.12976,
    "h": 297.5
  },
  "luminance": 0.33662
}

Semantic roles & 50–950 ramp

primary
#AA8EE7
secondary
#EAF1DA
accent
#CD1994
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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