#AA8BF9#AA8BF9

#AA8BF9 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.158 H 295.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AA8BF9
RGBrgb(170, 139, 249)
HSLhsl(257, 90%, 76%)
HSVhsv(257, 44%, 98%)
CMYKcmyk(31.7%, 44.2%, 0%, 2.4%)
CIE-LABlab(64.84, 35.09, -50.97)
CIE-LCHlch(64.84, 61.88, 304.55°)
OKLaboklab(71.1% 0.067 -0.1432)
OKLCHoklch(71.1% 0.158 295.1)
XYZxyz(42.9048, 33.8502, 93.8774)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BF9 #DAF98B
analogous
#8BA3F9 #AA8BF9 #E18BF9
triadic
#AA8BF9 #F9AA8B #8BF9AA
tetradic
#AA8BF9 #F98BA3 #DAF98B #8BF9E1
square
#AA8BF9 #F98BA3 #DAF98B #8BF9E1
split-complementary
#AA8BF9 #F9E18B #A3F98B
monochromatic
#5517F3 #7F51F6 #AA8BF9 #D5C5FC #EAE2FD

Accessibility & contrast

On white

2.70
#AA8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AA8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BF9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BF9#FFFFFF#000000##000000
##AA8BF91.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#6D9CF6
Tritanopia (blue-blind)
#989FB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8bf9;
/* rgb */ color: rgb(170, 139, 249);
/* oklch */ color: oklch(71.1% 0.158 295.1);
Tailwind
colors: {
  custom: {
    50: '#c6adfc',
    500: '#aa8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bf9;
$custom-light: #c6adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bf9",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 256.909,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71105,
    "c": 0.15809,
    "h": 295.1
  },
  "luminance": 0.33851
}

Semantic roles & 50–950 ramp

primary
#AA8BF9
secondary
#EDF6D5
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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