#AA8AF8#AA8AF8

#AA8AF8 is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.9% C 0.158 H 295.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AA8AF8
RGBrgb(170, 138, 248)
HSLhsl(257, 89%, 76%)
HSVhsv(257, 44%, 97%)
CMYKcmyk(31.5%, 44.4%, 0%, 2.7%)
CIE-LABlab(64.56, 35.40, -50.86)
CIE-LCHlch(64.56, 61.97, 304.84°)
OKLaboklab(70.88% 0.0681 -0.1429)
OKLCHoklch(70.88% 0.158 295.5)
XYZxyz(42.6051, 33.4997, 93.0102)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AF8 #D8F88A
analogous
#8AA1F8 #AA8AF8 #E18AF8
triadic
#AA8AF8 #F8AA8A #8AF8AA
tetradic
#AA8AF8 #F88AA1 #D8F88A #8AF8E1
square
#AA8AF8 #F88AA1 #D8F88A #8AF8E1
split-complementary
#AA8AF8 #F8E18A #A1F88A
monochromatic
#5617F1 #8050F5 #AA8AF8 #D4C4FB #EAE2FD

Accessibility & contrast

On white

2.73
#AA8AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AA8AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AF8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AF8#FFFFFF#000000##000000
##AA8AF81.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#999EB5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8af8;
/* rgb */ color: rgb(170, 138, 248);
/* oklch */ color: oklch(70.9% 0.158 295.5);
Tailwind
colors: {
  custom: {
    50: '#c6acfb',
    500: '#aa8af8',
    950: '#000000',
  },
}
SCSS
$custom: #aa8af8;
$custom-light: #c6acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8af8",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 257.455,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.15831,
    "h": 295.5
  },
  "luminance": 0.335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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