#AA8BF8#AA8BF8

#AA8BF8 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.1% C 0.157 H 295.2°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#AA8BF8
RGBrgb(170, 139, 248)
HSLhsl(257, 89%, 76%)
HSVhsv(257, 44%, 97%)
CMYKcmyk(31.5%, 44%, 0%, 2.7%)
CIE-LABlab(64.79, 34.84, -50.50)
CIE-LCHlch(64.79, 61.35, 304.60°)
OKLaboklab(71.05% 0.0668 -0.1418)
OKLCHoklch(71.05% 0.157 295.2)
XYZxyz(42.7492, 33.7879, 93.0582)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8BF8 #D9F88B
analogous
#8BA2F8 #AA8BF8 #E08BF8
triadic
#AA8BF8 #F8AA8B #8BF8AA
tetradic
#AA8BF8 #F88BA2 #D9F88B #8BF8E0
square
#AA8BF8 #F88BA2 #D9F88B #8BF8E0
split-complementary
#AA8BF8 #F8E08B #A2F88B
monochromatic
#5518F1 #8051F5 #AA8BF8 #D4C5FB #EAE2FD

Accessibility & contrast

On white

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

On black

7.76
#AA8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8BF8
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8BF8#FFFFFF#000000##000000
##AA8BF81.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#6E9CF5
Tritanopia (blue-blind)
#999FB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8bf8;
/* rgb */ color: rgb(170, 139, 248);
/* oklch */ color: oklch(71.1% 0.157 295.2);
Tailwind
colors: {
  custom: {
    50: '#c6adfb',
    500: '#aa8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #aa8bf8;
$custom-light: #c6adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8bf8",
  "rgb": {
    "r": 170,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 257.064,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.15678,
    "h": 295.2
  },
  "luminance": 0.33789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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