#AA6FF5#AA6FF5

#AA6FF5 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.195 H 301.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AA6FF5
RGBrgb(170, 111, 245)
HSLhsl(266, 87%, 70%)
HSVhsv(266, 55%, 96%)
CMYKcmyk(30.6%, 54.7%, 0%, 3.9%)
CIE-LABlab(58.52, 49.53, -58.83)
CIE-LCHlch(58.52, 76.91, 310.09°)
OKLaboklab(66.32% 0.1023 -0.1662)
OKLCHoklch(66.32% 0.195 301.6)
XYZxyz(38.7396, 26.5074, 89.4440)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FF5 #BAF56F
analogous
#6F77F5 #AA6FF5 #ED6FF5
triadic
#AA6FF5 #F5AA6F #6FF5AA
tetradic
#AA6FF5 #F56F77 #BAF56F #6FF5ED
square
#AA6FF5 #F56F77 #BAF56F #6FF5ED
split-complementary
#AA6FF5 #F5ED6F #77F56F
monochromatic
#690FDA #8836F1 #AA6FF5 #CCA8F9 #EEE1FD

Accessibility & contrast

On white

3.33
#AA6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AA6FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FF5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FF5#FFFFFF#000000##000000
##AA6FF51.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#9B89A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa6ff5;
/* rgb */ color: rgb(170, 111, 245);
/* oklch */ color: oklch(66.3% 0.195 301.6);
Tailwind
colors: {
  custom: {
    50: '#c79af9',
    500: '#aa6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ff5;
$custom-light: #c79af9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ff5",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 266.418,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6632,
    "c": 0.19517,
    "h": 301.6
  },
  "luminance": 0.26507
}

Semantic roles & 50–950 ramp

primary
#AA6FF5
secondary
#E2F3CD
accent
#E40280
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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