#AA8EF4#AA8EF4

#AA8EF4 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.147 H 295.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AA8EF4
RGBrgb(170, 142, 244)
HSLhsl(256, 82%, 76%)
HSVhsv(256, 42%, 96%)
CMYKcmyk(30.3%, 41.8%, 0%, 4.3%)
CIE-LABlab(65.30, 32.15, -47.51)
CIE-LCHlch(65.30, 57.37, 304.09°)
OKLaboklab(71.37% 0.0622 -0.1331)
OKLCHoklch(71.37% 0.147 295.1)
XYZxyz(42.5757, 34.4231, 89.9716)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EF4 #D8F48E
analogous
#8EA5F4 #AA8EF4 #DD8EF4
triadic
#AA8EF4 #F4AA8E #8EF4AA
tetradic
#AA8EF4 #F48EA5 #D8F48E #8EF4DD
square
#AA8EF4 #F48EA5 #D8F48E #8EF4DD
split-complementary
#AA8EF4 #F4DD8E #A5F48E
monochromatic
#561EE9 #8056EF #AA8EF4 #D4C6F9 #EAE3FC

Accessibility & contrast

On white

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

On black

7.88
#AA8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EF4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EF4#FFFFFF#000000##000000
##AA8EF41.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF8
Deuteranopia (green-blind)
#749DF1
Tritanopia (blue-blind)
#9AA0B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8ef4;
/* rgb */ color: rgb(170, 142, 244);
/* oklch */ color: oklch(71.4% 0.147 295.1);
Tailwind
colors: {
  custom: {
    50: '#c6aff8',
    500: '#aa8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ef4;
$custom-light: #c6aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ef4",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 256.471,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.14697,
    "h": 295.1
  },
  "luminance": 0.34424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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