#AA89EB#AA89EB

#AA89EB is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.143 H 298.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AA89EB
RGBrgb(170, 137, 235)
HSLhsl(260, 71%, 73%)
HSVhsv(260, 42%, 92%)
CMYKcmyk(27.7%, 41.7%, 0%, 7.8%)
CIE-LABlab(63.70, 32.76, -45.07)
CIE-LCHlch(63.70, 55.72, 306.01°)
OKLaboklab(70.02% 0.0674 -0.126)
OKLCHoklch(70.02% 0.143 298.1)
XYZxyz(40.5151, 32.4352, 82.7073)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA89EB #CAEB89
analogous
#8999EB #AA89EB #DB89EB
triadic
#AA89EB #EBAA89 #89EBAA
tetradic
#AA89EB #EB8999 #CAEB89 #89EBDB
square
#AA89EB #EB8999 #CAEB89 #89EBDB
split-complementary
#AA89EB #EBDB89 #99EB89
monochromatic
#6024D5 #8455E2 #AA89EB #D0BDF4 #ECE5FB

Accessibility & contrast

On white

2.80
#AA89EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AA89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA89EB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA89EB#FFFFFF#000000##000000
##AA89EB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#7499E9
Tritanopia (blue-blind)
#9D9AAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa89eb;
/* rgb */ color: rgb(170, 137, 235);
/* oklch */ color: oklch(70.0% 0.143 298.1);
Tailwind
colors: {
  custom: {
    50: '#c5acf2',
    500: '#aa89eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa89eb;
$custom-light: #c5acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa89eb",
  "rgb": {
    "r": 170,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 260.204,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.14294,
    "h": 298.1
  },
  "luminance": 0.32436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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