#AA91EB#AA91EB

#AA91EB is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.5% C 0.130 H 295.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#AA91EB
RGBrgb(170, 145, 235)
HSLhsl(257, 69%, 75%)
HSVhsv(257, 38%, 92%)
CMYKcmyk(27.7%, 38.3%, 0%, 7.8%)
CIE-LABlab(65.59, 28.24, -42.10)
CIE-LCHlch(65.59, 50.70, 303.85°)
OKLaboklab(71.45% 0.0565 -0.1175)
OKLCHoklch(71.45% 0.13 295.7)
XYZxyz(41.6948, 34.7945, 83.1005)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA91EB #D2EB91
analogous
#91A5EB #AA91EB #D791EB
triadic
#AA91EB #EBAA91 #91EBAA
tetradic
#AA91EB #EB91A5 #D2EB91 #91EBD7
square
#AA91EB #EB91A5 #D2EB91 #91EBD7
split-complementary
#AA91EB #EBD791 #A5EB91
monochromatic
#5A29D8 #825DE2 #AA91EB #D2C5F4 #EBE5FA

Accessibility & contrast

On white

2.64
#AA91EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#AA91EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA91EB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA91EB#FFFFFF#000000##000000
##AA91EB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EE
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#9CA1B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa91eb;
/* rgb */ color: rgb(170, 145, 235);
/* oklch */ color: oklch(71.5% 0.130 295.7);
Tailwind
colors: {
  custom: {
    50: '#c5b1f2',
    500: '#aa91eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa91eb;
$custom-light: #c5b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa91eb",
  "rgb": {
    "r": 170,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 256.667,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71452,
    "c": 0.13036,
    "h": 295.7
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

primary
#AA91EB
secondary
#EBF2D9
accent
#D1149D
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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