#AA8EE6#AA8EE6

#AA8EE6 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.7% C 0.128 H 297.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#AA8EE6
RGBrgb(170, 142, 230)
HSLhsl(259, 64%, 73%)
HSVhsv(259, 38%, 90%)
CMYKcmyk(26.1%, 38.3%, 0%, 9.8%)
CIE-LABlab(64.65, 28.72, -40.82)
CIE-LCHlch(64.65, 49.91, 305.13°)
OKLaboklab(70.66% 0.0597 -0.1137)
OKLCHoklch(70.66% 0.128 297.7)
XYZxyz(40.5302, 33.6049, 79.1987)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EE6 #CAE68E
analogous
#8E9EE6 #AA8EE6 #D68EE6
triadic
#AA8EE6 #E6AA8E #8EE6AA
tetradic
#AA8EE6 #E68E9E #CAE68E #8EE6D6
square
#AA8EE6 #E68E9E #CAE68E #8EE6D6
split-complementary
#AA8EE6 #E6D68E #9EE68E
monochromatic
#602DCC #845CDB #AA8EE6 #D0C0F1 #ECE6F9

Accessibility & contrast

On white

2.72
#AA8EE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#AA8EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EE6
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EE6#FFFFFF#000000##000000
##AA8EE61.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DE9
Deuteranopia (green-blind)
#7C9CE4
Tritanopia (blue-blind)
#9E9DAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8ee6;
/* rgb */ color: rgb(170, 142, 230);
/* oklch */ color: oklch(70.7% 0.128 297.7);
Tailwind
colors: {
  custom: {
    50: '#c5afee',
    500: '#aa8ee6',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ee6;
$custom-light: #c5afee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ee6",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 230
  },
  "hsl": {
    "h": 259.091,
    "s": 63.768,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.12843,
    "h": 297.7
  },
  "luminance": 0.33605
}

Semantic roles & 50–950 ramp

primary
#AA8EE6
secondary
#EAF1DA
accent
#CC1A93
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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