#AA91EC#AA91EC

#AA91EC is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.5% C 0.132 H 295.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AA91EC
RGBrgb(170, 145, 236)
HSLhsl(256, 71%, 75%)
HSVhsv(256, 39%, 93%)
CMYKcmyk(28%, 38.6%, 0%, 7.5%)
CIE-LABlab(65.63, 28.48, -42.58)
CIE-LCHlch(65.63, 51.23, 303.78°)
OKLaboklab(71.5% 0.0567 -0.1188)
OKLCHoklch(71.5% 0.132 295.5)
XYZxyz(41.8396, 34.8525, 83.8635)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA91EC #D3EC91
analogous
#91A5EC #AA91EC #D891EC
triadic
#AA91EC #ECAA91 #91ECAA
tetradic
#AA91EC #EC91A5 #D3EC91 #91ECD8
square
#AA91EC #EC91A5 #D3EC91 #91ECD8
split-complementary
#AA91EC #ECD891 #A5EC91
monochromatic
#5929DA #825DE3 #AA91EC #D2C5F5 #EBE5FA

Accessibility & contrast

On white

2.63
#AA91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AA91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA91EC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA91EC#FFFFFF#000000##000000
##AA91EC1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa91ec;
/* rgb */ color: rgb(170, 145, 236);
/* oklch */ color: oklch(71.5% 0.132 295.5);
Tailwind
colors: {
  custom: {
    50: '#c5b1f2',
    500: '#aa91ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa91ec;
$custom-light: #c5b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa91ec",
  "rgb": {
    "r": 170,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 256.484,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71501,
    "c": 0.1317,
    "h": 295.5
  },
  "luminance": 0.34853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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