#AA8FE5#AA8FE5

#AA8FE5 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.8% C 0.126 H 297.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AA8FE5
RGBrgb(170, 143, 229)
HSLhsl(259, 62%, 73%)
HSVhsv(259, 38%, 90%)
CMYKcmyk(25.8%, 37.6%, 0%, 10.2%)
CIE-LABlab(64.84, 27.92, -39.96)
CIE-LCHlch(64.84, 48.75, 304.94°)
OKLaboklab(70.8% 0.0581 -0.1113)
OKLCHoklch(70.8% 0.126 297.6)
XYZxyz(40.5396, 33.8478, 78.5110)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8FE5 #CAE58F
analogous
#8F9FE5 #AA8FE5 #D58FE5
triadic
#AA8FE5 #E5AA8F #8FE5AA
tetradic
#AA8FE5 #E58F9F #CAE58F #8FE5D5
square
#AA8FE5 #E58F9F #CAE58F #8FE5D5
split-complementary
#AA8FE5 #E5D58F #9FE58F
monochromatic
#602FCB #845DD9 #AA8FE5 #D0C1F1 #ECE6F9

Accessibility & contrast

On white

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

On black

7.77
#AA8FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8FE5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8FE5#FFFFFF#000000##000000
##AA8FE51.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EE8
Deuteranopia (green-blind)
#7D9CE3
Tritanopia (blue-blind)
#9E9EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8fe5;
/* rgb */ color: rgb(170, 143, 229);
/* oklch */ color: oklch(70.8% 0.126 297.6);
Tailwind
colors: {
  custom: {
    50: '#c5b0ed',
    500: '#aa8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #aa8fe5;
$custom-light: #c5b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8fe5",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 258.837,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.12551,
    "h": 297.6
  },
  "luminance": 0.33848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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