#AA8EEF#AA8EEF

#AA8EEF is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.1% C 0.140 H 295.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AA8EEF
RGBrgb(170, 142, 239)
HSLhsl(257, 75%, 75%)
HSVhsv(257, 41%, 94%)
CMYKcmyk(28.9%, 40.6%, 0%, 6.3%)
CIE-LABlab(65.06, 30.92, -45.13)
CIE-LCHlch(65.06, 54.71, 304.41°)
OKLaboklab(71.11% 0.0614 -0.1262)
OKLCHoklch(71.11% 0.14 295.9)
XYZxyz(41.8268, 34.1235, 86.0275)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EEF #D3EF8E
analogous
#8EA2EF #AA8EEF #DB8EEF
triadic
#AA8EEF #EFAA8E #8EEFAA
tetradic
#AA8EEF #EF8EA2 #D3EF8E #8EEFDB
square
#AA8EEF #EF8EA2 #D3EF8E #8EEFDB
split-complementary
#AA8EEF #EFDB8E #A2EF8E
monochromatic
#5923E0 #8258E7 #AA8EEF #D2C4F7 #EBE4FB

Accessibility & contrast

On white

2.68
#AA8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#AA8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EEF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EEF#FFFFFF#000000##000000
##AA8EEF1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF3
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#9B9FB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8eef;
/* rgb */ color: rgb(170, 142, 239);
/* oklch */ color: oklch(71.1% 0.140 295.9);
Tailwind
colors: {
  custom: {
    50: '#c5aff4',
    500: '#aa8eef',
    950: '#000000',
  },
}
SCSS
$custom: #aa8eef;
$custom-light: #c5aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8eef",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 257.32,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71112,
    "c": 0.14036,
    "h": 295.9
  },
  "luminance": 0.34124
}

Semantic roles & 50–950 ramp

primary
#AA8EEF
secondary
#EBF3D8
accent
#D70E9D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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