#AA8EF5#AA8EF5

#AA8EF5 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.4% C 0.148 H 294.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AA8EF5
RGBrgb(170, 142, 245)
HSLhsl(256, 84%, 76%)
HSVhsv(256, 42%, 96%)
CMYKcmyk(30.6%, 42%, 0%, 3.9%)
CIE-LABlab(65.34, 32.40, -47.98)
CIE-LCHlch(65.34, 57.90, 304.03°)
OKLaboklab(71.42% 0.0624 -0.1345)
OKLCHoklch(71.42% 0.148 294.9)
XYZxyz(42.7279, 34.4840, 90.7734)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EF5 #D9F58E
analogous
#8EA5F5 #AA8EF5 #DE8EF5
triadic
#AA8EF5 #F5AA8E #8EF5AA
tetradic
#AA8EF5 #F58EA5 #D9F58E #8EF5DE
square
#AA8EF5 #F58EA5 #D9F58E #8EF5DE
split-complementary
#AA8EF5 #F5DE8E #A5F58E
monochromatic
#551EEB #8056F0 #AA8EF5 #D4C6FA #EAE3FD

Accessibility & contrast

On white

2.66
#AA8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AA8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EF5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EF5#FFFFFF#000000##000000
##AA8EF51.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#739DF2
Tritanopia (blue-blind)
#99A1B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa8ef5;
/* rgb */ color: rgb(170, 142, 245);
/* oklch */ color: oklch(71.4% 0.148 294.9);
Tailwind
colors: {
  custom: {
    50: '#c6aff9',
    500: '#aa8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ef5;
$custom-light: #c6aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ef5",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 256.311,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7142,
    "c": 0.14828,
    "h": 294.9
  },
  "luminance": 0.34485
}

Semantic roles & 50–950 ramp

primary
#AA8EF5
secondary
#ECF4D7
accent
#E005A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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