#AA8EDA#AA8EDA

#AA8EDA is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.1% C 0.112 H 300.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AA8EDA
RGBrgb(170, 142, 218)
HSLhsl(262, 51%, 71%)
HSVhsv(262, 35%, 85%)
CMYKcmyk(22%, 34.9%, 0%, 14.5%)
CIE-LABlab(64.12, 25.88, -34.98)
CIE-LCHlch(64.12, 43.51, 306.49°)
OKLaboklab(70.09% 0.057 -0.0969)
OKLCHoklch(70.09% 0.112 300.5)
XYZxyz(38.9027, 32.9539, 70.6273)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8EDA #BEDA8E
analogous
#8E98DA #AA8EDA #D08EDA
triadic
#AA8EDA #DAAA8E #8EDAAA
tetradic
#AA8EDA #DA8E98 #BEDA8E #8EDAD0
square
#AA8EDA #DA8E98 #BEDA8E #8EDAD0
split-complementary
#AA8EDA #DAD08E #98DA8E
monochromatic
#673BB3 #8760CB #AA8EDA #CDBCE9 #EEE8F7

Accessibility & contrast

On white

2.77
#AA8EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AA8EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8EDA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8EDA#FFFFFF#000000##000000
##AA8EDA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#A19AAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa8eda;
/* rgb */ color: rgb(170, 142, 218);
/* oklch */ color: oklch(70.1% 0.112 300.5);
Tailwind
colors: {
  custom: {
    50: '#c4afe5',
    500: '#aa8eda',
    950: '#000000',
  },
}
SCSS
$custom: #aa8eda;
$custom-light: #c4afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8eda",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 262.105,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70092,
    "c": 0.11246,
    "h": 300.5
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

primary
#AA8EDA
secondary
#E5ECD8
accent
#BE2787
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA8EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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