#AA8BF7#AA8BF7

#AA8BF7 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.0% C 0.155 H 295.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AA8BF7
RGBrgb(170, 139, 247)
HSLhsl(257, 87%, 76%)
HSVhsv(257, 44%, 97%)
CMYKcmyk(31.2%, 43.7%, 0%, 3.1%)
CIE-LABlab(64.74, 34.59, -50.03)
CIE-LCHlch(64.74, 60.82, 304.66°)
OKLaboklab(71% 0.0667 -0.1405)
OKLCHoklch(71% 0.155 295.4)
XYZxyz(42.5945, 33.7261, 92.2433)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BF7 #D8F78B
analogous
#8BA2F7 #AA8BF7 #E08BF7
triadic
#AA8BF7 #F7AA8B #8BF7AA
tetradic
#AA8BF7 #F78BA2 #D8F78B #8BF7E0
square
#AA8BF7 #F78BA2 #D8F78B #8BF7E0
split-complementary
#AA8BF7 #F7E08B #A2F78B
monochromatic
#5618EF #8052F3 #AA8BF7 #D4C4FB #EAE2FD

Accessibility & contrast

On white

2.71
#AA8BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#AA8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BF7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BF7#FFFFFF#000000##000000
##AA8BF71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#999FB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8bf7;
/* rgb */ color: rgb(170, 139, 247);
/* oklch */ color: oklch(71.0% 0.155 295.4);
Tailwind
colors: {
  custom: {
    50: '#c6adfa',
    500: '#aa8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bf7;
$custom-light: #c6adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bf7",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 257.222,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.15548,
    "h": 295.4
  },
  "luminance": 0.33727
}

Semantic roles & 50–950 ramp

primary
#AA8BF7
secondary
#ECF5D6
accent
#E402A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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