#AA8EFE#AA8EFE

#AA8EFE is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.9% C 0.160 H 293.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AA8EFE
RGBrgb(170, 142, 254)
HSLhsl(255, 98%, 78%)
HSVhsv(255, 44%, 100%)
CMYKcmyk(33.1%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.79, 34.66, -52.21)
CIE-LCHlch(65.79, 62.67, 303.58°)
OKLaboklab(71.9% 0.0638 -0.1468)
OKLCHoklch(71.9% 0.16 293.5)
XYZxyz(44.1354, 35.0470, 98.1861)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EFE #E2FE8E
analogous
#8EAAFE #AA8EFE #E28EFE
triadic
#AA8EFE #FEAA8E #8EFEAA
tetradic
#AA8EFE #FE8EAA #E2FE8E #8EFEE2
square
#AA8EFE #FE8EAA #E2FE8E #8EFEE2
split-complementary
#AA8EFE #FEE28E #AAFE8E
monochromatic
#4F15FD #7C51FD #AA8EFE #D8CBFF #E8E1FF

Accessibility & contrast

On white

2.62
#AA8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AA8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EFE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EFE#FFFFFF#000000##000000
##AA8EFE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#96A3BA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa8efe;
/* rgb */ color: rgb(170, 142, 254);
/* oklch */ color: oklch(71.9% 0.160 293.5);
Tailwind
colors: {
  custom: {
    50: '#c6afff',
    500: '#aa8efe',
    950: '#000000',
  },
}
SCSS
$custom: #aa8efe;
$custom-light: #c6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8efe",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 255,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71896,
    "c": 0.16009,
    "h": 293.5
  },
  "luminance": 0.35048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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