#AA7AF8#AA7AF8

#AA7AF8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.2% C 0.182 H 299.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AA7AF8
RGBrgb(170, 122, 248)
HSLhsl(263, 90%, 73%)
HSVhsv(263, 51%, 97%)
CMYKcmyk(31.5%, 50.8%, 0%, 2.7%)
CIE-LABlab(60.99, 44.30, -56.53)
CIE-LCHlch(60.99, 71.82, 308.08°)
OKLaboklab(68.21% 0.0887 -0.1595)
OKLCHoklch(68.21% 0.182 299.1)
XYZxyz(40.4763, 29.2421, 92.3006)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AF8 #C8F87A
analogous
#7A89F8 #AA7AF8 #E97AF8
triadic
#AA7AF8 #F8AA7A #7AF8AA
tetradic
#AA7AF8 #F87A89 #C8F87A #7AF8E9
square
#AA7AF8 #F87A89 #C8F87A #7AF8E9
split-complementary
#AA7AF8 #F8E97A #89F87A
monochromatic
#610CEB #8540F5 #AA7AF8 #CFB4FB #ECE2FD

Accessibility & contrast

On white

3.07
#AA7AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AA7AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AF8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AF8#FFFFFF#000000##000000
##AA7AF81.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#9A92AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7af8;
/* rgb */ color: rgb(170, 122, 248);
/* oklch */ color: oklch(68.2% 0.182 299.1);
Tailwind
colors: {
  custom: {
    50: '#c7a1fb',
    500: '#aa7af8',
    950: '#000000',
  },
}
SCSS
$custom: #aa7af8;
$custom-light: #c7a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7af8",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 262.857,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.18248,
    "h": 299.1
  },
  "luminance": 0.29242
}

Semantic roles & 50–950 ramp

primary
#AA7AF8
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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