#AA8EFA#AA8EFA

#AA8EFA is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.155 H 294.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#AA8EFA
RGBrgb(170, 142, 250)
HSLhsl(256, 92%, 77%)
HSVhsv(256, 43%, 98%)
CMYKcmyk(32%, 43.2%, 0%, 2%)
CIE-LABlab(65.59, 33.65, -50.34)
CIE-LCHlch(65.59, 60.55, 303.76°)
OKLaboklab(71.68% 0.0632 -0.1414)
OKLCHoklch(71.68% 0.155 294.1)
XYZxyz(43.5015, 34.7934, 94.8478)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EFA #DEFA8E
analogous
#8EA8FA #AA8EFA #E08EFA
triadic
#AA8EFA #FAAA8E #8EFAAA
tetradic
#AA8EFA #FA8EA8 #DEFA8E #8EFAE0
square
#AA8EFA #FA8EA8 #DEFA8E #8EFAE0
split-complementary
#AA8EFA #FAE08E #A8FA8E
monochromatic
#5219F5 #7E53F7 #AA8EFA #D6C9FD #E9E2FE

Accessibility & contrast

On white

2.64
#AA8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#AA8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EFA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EFA#FFFFFF#000000##000000
##AA8EFA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FE
Deuteranopia (green-blind)
#709EF7
Tritanopia (blue-blind)
#98A2B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8efa;
/* rgb */ color: rgb(170, 142, 250);
/* oklch */ color: oklch(71.7% 0.155 294.1);
Tailwind
colors: {
  custom: {
    50: '#c6affc',
    500: '#aa8efa',
    950: '#000000',
  },
}
SCSS
$custom: #aa8efa;
$custom-light: #c6affc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8efa",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 255.556,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71682,
    "c": 0.15485,
    "h": 294.1
  },
  "luminance": 0.34794
}

Semantic roles & 50–950 ramp

primary
#AA8EFA
secondary
#EDF6D5
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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