#AA8AEC#AA8AEC

#AA8AEC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.2% C 0.143 H 297.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AA8AEC
RGBrgb(170, 138, 236)
HSLhsl(260, 72%, 73%)
HSVhsv(260, 42%, 93%)
CMYKcmyk(28%, 41.5%, 0%, 7.5%)
CIE-LABlab(63.98, 32.44, -45.18)
CIE-LCHlch(63.98, 55.62, 305.68°)
OKLaboklab(70.25% 0.0662 -0.1264)
OKLCHoklch(70.25% 0.143 297.7)
XYZxyz(40.8028, 32.7788, 83.5179)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AEC #CCEC8A
analogous
#8A9BEC #AA8AEC #DB8AEC
triadic
#AA8AEC #ECAA8A #8AECAA
tetradic
#AA8AEC #EC8A9B #CCEC8A #8AECDB
square
#AA8AEC #EC8A9B #CCEC8A #8AECDB
split-complementary
#AA8AEC #ECDB8A #9BEC8A
monochromatic
#5E23D8 #8455E3 #AA8AEC #D0BFF5 #ECE5FB

Accessibility & contrast

On white

2.78
#AA8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AA8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AEC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AEC#FFFFFF#000000##000000
##AA8AEC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#9D9BB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa8aec;
/* rgb */ color: rgb(170, 138, 236);
/* oklch */ color: oklch(70.2% 0.143 297.7);
Tailwind
colors: {
  custom: {
    50: '#c5acf2',
    500: '#aa8aec',
    950: '#000000',
  },
}
SCSS
$custom: #aa8aec;
$custom-light: #c5acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8aec",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 259.592,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70249,
    "c": 0.14267,
    "h": 297.7
  },
  "luminance": 0.32779
}

Semantic roles & 50–950 ramp

primary
#AA8AEC
secondary
#EAF2D9
accent
#D41195
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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