#AA8EE4#AA8EE4

#AA8EE4 is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.6% C 0.126 H 298.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AA8EE4
RGBrgb(170, 142, 228)
HSLhsl(260, 61%, 73%)
HSVhsv(260, 38%, 89%)
CMYKcmyk(25.4%, 37.7%, 0%, 10.6%)
CIE-LABlab(64.56, 28.24, -39.85)
CIE-LCHlch(64.56, 48.84, 305.32°)
OKLaboklab(70.57% 0.0592 -0.1109)
OKLCHoklch(70.57% 0.126 298.1)
XYZxyz(40.2509, 33.4932, 77.7280)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EE4 #C8E48E
analogous
#8E9DE4 #AA8EE4 #D58EE4
triadic
#AA8EE4 #E4AA8E #8EE4AA
tetradic
#AA8EE4 #E48E9D #C8E48E #8EE4D5
square
#AA8EE4 #E48E9D #C8E48E #8EE4D5
split-complementary
#AA8EE4 #E4D58E #9DE48E
monochromatic
#6130C8 #855DD8 #AA8EE4 #CFBFF0 #ECE6F9

Accessibility & contrast

On white

2.73
#AA8EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AA8EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EE4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EE4#FFFFFF#000000##000000
##AA8EE41.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE7
Deuteranopia (green-blind)
#7D9CE2
Tritanopia (blue-blind)
#9F9CAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8ee4;
/* rgb */ color: rgb(170, 142, 228);
/* oklch */ color: oklch(70.6% 0.126 298.1);
Tailwind
colors: {
  custom: {
    50: '#c5afed',
    500: '#aa8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ee4;
$custom-light: #c5afed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ee4",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 259.535,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70566,
    "c": 0.12577,
    "h": 298.1
  },
  "luminance": 0.33493
}

Semantic roles & 50–950 ramp

primary
#AA8EE4
secondary
#E9F0DB
accent
#C91C91
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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