#AA8EEE#AA8EEE

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

Color values

HEX#AA8EEE
RGBrgb(170, 142, 238)
HSLhsl(258, 74%, 75%)
HSVhsv(258, 40%, 93%)
CMYKcmyk(28.6%, 40.3%, 0%, 6.7%)
CIE-LABlab(65.01, 30.67, -44.66)
CIE-LCHlch(65.01, 54.17, 304.48°)
OKLaboklab(71.06% 0.0612 -0.1249)
OKLCHoklch(71.06% 0.139 296.1)
XYZxyz(41.6795, 34.0646, 85.2516)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EEE #D2EE8E
analogous
#8EA2EE #AA8EEE #DA8EEE
triadic
#AA8EEE #EEAA8E #8EEEAA
tetradic
#AA8EEE #EE8EA2 #D2EE8E #8EEEDA
square
#AA8EEE #EE8EA2 #D2EE8E #8EEEDA
split-complementary
#AA8EEE #EEDA8E #A2EE8E
monochromatic
#5A24DE #8259E6 #AA8EEE #D2C3F6 #EBE4FB

Accessibility & contrast

On white

2.69
#AA8EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#AA8EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EEE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EEE#FFFFFF#000000##000000
##AA8EEE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#9C9FB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8eee;
/* rgb */ color: rgb(170, 142, 238);
/* oklch */ color: oklch(71.1% 0.139 296.1);
Tailwind
colors: {
  custom: {
    50: '#c5aff4',
    500: '#aa8eee',
    950: '#000000',
  },
}
SCSS
$custom: #aa8eee;
$custom-light: #c5aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8eee",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 257.5,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71061,
    "c": 0.13904,
    "h": 296.1
  },
  "luminance": 0.34065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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