#AA91EF#AA91EF

#AA91EF is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.7% C 0.136 H 295.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AA91EF
RGBrgb(170, 145, 239)
HSLhsl(256, 75%, 75%)
HSVhsv(256, 39%, 94%)
CMYKcmyk(28.9%, 39.3%, 0%, 6.3%)
CIE-LABlab(65.77, 29.22, -44.02)
CIE-LCHlch(65.77, 52.83, 303.58°)
OKLaboklab(71.65% 0.0573 -0.123)
OKLCHoklch(71.65% 0.136 295)
XYZxyz(42.2791, 35.0283, 86.1783)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA91EF #D6EF91
analogous
#91A7EF #AA91EF #D991EF
triadic
#AA91EF #EFAA91 #91EFAA
tetradic
#AA91EF #EF91A7 #D6EF91 #91EFD9
square
#AA91EF #EF91A7 #D6EF91 #91EFD9
split-complementary
#AA91EF #EFD991 #A7EF91
monochromatic
#5726DF #815CE7 #AA91EF #D3C6F7 #EAE4FB

Accessibility & contrast

On white

2.62
#AA91EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AA91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA91EF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA91EF#FFFFFF#000000##000000
##AA91EF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F3
Deuteranopia (green-blind)
#7A9EED
Tritanopia (blue-blind)
#9BA2B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa91ef;
/* rgb */ color: rgb(170, 145, 239);
/* oklch */ color: oklch(71.7% 0.136 295.0);
Tailwind
colors: {
  custom: {
    50: '#c5b1f4',
    500: '#aa91ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa91ef;
$custom-light: #c5b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa91ef",
  "rgb": {
    "r": 170,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 255.957,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7165,
    "c": 0.13571,
    "h": 295
  },
  "luminance": 0.35029
}

Semantic roles & 50–950 ramp

primary
#AA91EF
secondary
#ECF3D8
accent
#D70FA2
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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