#AA6FF8#AA6FF8

#AA6FF8 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.199 H 301.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AA6FF8
RGBrgb(170, 111, 248)
HSLhsl(266, 91%, 70%)
HSVhsv(266, 55%, 97%)
CMYKcmyk(31.5%, 55.2%, 0%, 2.7%)
CIE-LABlab(58.69, 50.25, -60.22)
CIE-LCHlch(58.69, 78.43, 309.84°)
OKLaboklab(66.5% 0.1024 -0.1703)
OKLCHoklch(66.5% 0.199 301)
XYZxyz(39.2013, 26.6921, 91.8756)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FF8 #BDF86F
analogous
#6F79F8 #AA6FF8 #EE6FF8
triadic
#AA6FF8 #F8AA6F #6FF8AA
tetradic
#AA6FF8 #F86F79 #BDF86F #6FF8EE
square
#AA6FF8 #F86F79 #BDF86F #6FF8EE
split-complementary
#AA6FF8 #F8EE6F #79F86F
monochromatic
#670BE2 #8835F5 #AA6FF8 #CCA9FB #EEE2FE

Accessibility & contrast

On white

3.31
#AA6FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AA6FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FF8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FF8#FFFFFF#000000##000000
##AA6FF81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFD
Deuteranopia (green-blind)
#4B8CF5
Tritanopia (blue-blind)
#9A8AA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa6ff8;
/* rgb */ color: rgb(170, 111, 248);
/* oklch */ color: oklch(66.5% 0.199 301.0);
Tailwind
colors: {
  custom: {
    50: '#c79afb',
    500: '#aa6ff8',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ff8;
$custom-light: #c79afb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ff8",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 265.839,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.19868,
    "h": 301
  },
  "luminance": 0.26692
}

Semantic roles & 50–950 ramp

primary
#AA6FF8
secondary
#E4F4CF
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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