#AA8EED#AA8EED

#AA8EED is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.138 H 296.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#AA8EED
RGBrgb(170, 142, 237)
HSLhsl(258, 73%, 74%)
HSVhsv(258, 40%, 93%)
CMYKcmyk(28.3%, 40.1%, 0%, 7.1%)
CIE-LABlab(64.97, 30.42, -44.18)
CIE-LCHlch(64.97, 53.64, 304.55°)
OKLaboklab(71.01% 0.061 -0.1235)
OKLCHoklch(71.01% 0.138 296.3)
XYZxyz(41.5330, 34.0060, 84.4800)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EED #D1ED8E
analogous
#8EA2ED #AA8EED #DA8EED
triadic
#AA8EED #EDAA8E #8EEDAA
tetradic
#AA8EED #ED8EA2 #D1ED8E #8EEDDA
square
#AA8EED #ED8EA2 #D1ED8E #8EEDDA
split-complementary
#AA8EED #EDDA8E #A2ED8E
monochromatic
#5B24DC #8259E5 #AA8EED #D2C3F5 #EBE5FB

Accessibility & contrast

On white

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

On black

7.80
#AA8EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EED
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EED#FFFFFF#000000##000000
##AA8EED1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF1
Deuteranopia (green-blind)
#789CEB
Tritanopia (blue-blind)
#9C9FB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa8eed;
/* rgb */ color: rgb(170, 142, 237);
/* oklch */ color: oklch(71.0% 0.138 296.3);
Tailwind
colors: {
  custom: {
    50: '#c5aff3',
    500: '#aa8eed',
    950: '#000000',
  },
}
SCSS
$custom: #aa8eed;
$custom-light: #c5aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8eed",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 237
  },
  "hsl": {
    "h": 257.684,
    "s": 72.519,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.13772,
    "h": 296.3
  },
  "luminance": 0.34006
}

Semantic roles & 50–950 ramp

primary
#AA8EED
secondary
#EBF2D9
accent
#D5119B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8EED

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

Preview Lab → · Contrast checker → · Palette generator →

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