#AA88EB#AA88EB

#AA88EB is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.8% C 0.145 H 298.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AA88EB
RGBrgb(170, 136, 235)
HSLhsl(261, 71%, 73%)
HSVhsv(261, 42%, 92%)
CMYKcmyk(27.7%, 42.1%, 0%, 7.8%)
CIE-LABlab(63.47, 33.32, -45.43)
CIE-LCHlch(63.47, 56.34, 306.26°)
OKLaboklab(69.85% 0.0688 -0.1271)
OKLCHoklch(69.85% 0.145 298.4)
XYZxyz(40.3736, 32.1522, 82.6601)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA88EB #C9EB88
analogous
#8897EB #AA88EB #DB88EB
triadic
#AA88EB #EBAA88 #88EBAA
tetradic
#AA88EB #EB8897 #C9EB88 #88EBDB
square
#AA88EB #EB8897 #C9EB88 #88EBDB
split-complementary
#AA88EB #EBDB88 #97EB88
monochromatic
#6124D5 #8554E2 #AA88EB #CFBCF4 #ECE5FB

Accessibility & contrast

On white

2.83
#AA88EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AA88EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA88EB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA88EB#FFFFFF#000000##000000
##AA88EB1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#9D99AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa88eb;
/* rgb */ color: rgb(170, 136, 235);
/* oklch */ color: oklch(69.8% 0.145 298.4);
Tailwind
colors: {
  custom: {
    50: '#c5abf2',
    500: '#aa88eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa88eb;
$custom-light: #c5abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa88eb",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 260.606,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69846,
    "c": 0.14452,
    "h": 298.4
  },
  "luminance": 0.32153
}

Semantic roles & 50–950 ramp

primary
#AA88EB
secondary
#E9F2D9
accent
#D31291
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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