#AA8EE2#AA8EE2

#AA8EE2 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.5% C 0.123 H 298.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AA8EE2
RGBrgb(170, 142, 226)
HSLhsl(260, 59%, 72%)
HSVhsv(260, 37%, 89%)
CMYKcmyk(24.8%, 37.2%, 0%, 11.4%)
CIE-LABlab(64.47, 27.76, -38.88)
CIE-LCHlch(64.47, 47.78, 305.53°)
OKLaboklab(70.47% 0.0588 -0.1081)
OKLCHoklch(70.47% 0.123 298.5)
XYZxyz(39.9749, 33.3828, 76.2743)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EE2 #C6E28E
analogous
#8E9CE2 #AA8EE2 #D48EE2
triadic
#AA8EE2 #E2AA8E #8EE2AA
tetradic
#AA8EE2 #E28E9C #C6E28E #8EE2D4
square
#AA8EE2 #E28E9C #C6E28E #8EE2D4
split-complementary
#AA8EE2 #E2D48E #9CE28E
monochromatic
#6332C3 #855DD6 #AA8EE2 #CFBFEE #EDE7F9

Accessibility & contrast

On white

2.74
#AA8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AA8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EE2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EE2#FFFFFF#000000##000000
##AA8EE21.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#7E9CE0
Tritanopia (blue-blind)
#9F9CAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa8ee2;
/* rgb */ color: rgb(170, 142, 226);
/* oklch */ color: oklch(70.5% 0.123 298.5);
Tailwind
colors: {
  custom: {
    50: '#c5afeb',
    500: '#aa8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #aa8ee2;
$custom-light: #c5afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8ee2",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 260,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.12311,
    "h": 298.5
  },
  "luminance": 0.33383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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