#AA91F2#AA91F2

#AA91F2 is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.8% C 0.140 H 294.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#AA91F2
RGBrgb(170, 145, 242)
HSLhsl(255, 79%, 76%)
HSVhsv(255, 40%, 95%)
CMYKcmyk(29.8%, 40.1%, 0%, 5.1%)
CIE-LABlab(65.91, 29.96, -45.45)
CIE-LCHlch(65.91, 54.44, 303.40°)
OKLaboklab(71.8% 0.0579 -0.1272)
OKLCHoklch(71.8% 0.14 294.5)
XYZxyz(42.7260, 35.2070, 88.5318)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA91F2 #D9F291
analogous
#91A8F2 #AA91F2 #DA91F2
triadic
#AA91F2 #F2AA91 #91F2AA
tetradic
#AA91F2 #F291A8 #D9F291 #91F2DA
square
#AA91F2 #F291A8 #D9F291 #91F2DA
split-complementary
#AA91F2 #F2DA91 #A8F291
monochromatic
#5524E5 #805AEC #AA91F2 #D4C8F8 #EAE4FC

Accessibility & contrast

On white

2.61
#AA91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#AA91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA91F2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA91F2#FFFFFF#000000##000000
##AA91F21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#9AA2B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa91f2;
/* rgb */ color: rgb(170, 145, 242);
/* oklch */ color: oklch(71.8% 0.140 294.5);
Tailwind
colors: {
  custom: {
    50: '#c5b1f7',
    500: '#aa91f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa91f2;
$custom-light: #c5b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa91f2",
  "rgb": {
    "r": 170,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 255.464,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71801,
    "c": 0.1397,
    "h": 294.5
  },
  "luminance": 0.35208
}

Semantic roles & 50–950 ramp

primary
#AA91F2
secondary
#ECF4D7
accent
#DB0AA5
background
#FCFAFF
surface
#F8F5FE
border
#D1CFD6
text
#131017
muted
#827F85

Preview Lab

Preview with #AA91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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