#AA6FE5#AA6FE5

#AA6FE5 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.176 H 305.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA6FE5
RGBrgb(170, 111, 229)
HSLhsl(270, 69%, 67%)
HSVhsv(270, 52%, 90%)
CMYKcmyk(25.8%, 51.5%, 0%, 10.2%)
CIE-LABlab(57.63, 45.74, -51.34)
CIE-LCHlch(57.63, 68.76, 311.70°)
OKLaboklab(65.38% 0.1015 -0.1443)
OKLCHoklch(65.38% 0.176 305.1)
XYZxyz(36.4019, 25.5723, 77.1318)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FE5 #AAE56F
analogous
#6F6FE5 #AA6FE5 #E56FE5
triadic
#AA6FE5 #E5AA6F #6FE5AA
tetradic
#AA6FE5 #E56F6F #AAE56F #6FE5E5
square
#AA6FE5 #E56F6F #AAE56F #6FE5E5
split-complementary
#AA6FE5 #E5E56F #6FE56F
monochromatic
#6D21B8 #8B3BDC #AA6FE5 #C9A3EE #E7D7F8

Accessibility & contrast

On white

3.43
#AA6FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AA6FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FE5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FE5#FFFFFF#000000##000000
##AA6FE51.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#5C8BE2
Tritanopia (blue-blind)
#A084A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6fe5;
/* rgb */ color: rgb(170, 111, 229);
/* oklch */ color: oklch(65.4% 0.176 305.1);
Tailwind
colors: {
  custom: {
    50: '#c69aee',
    500: '#aa6fe5',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fe5;
$custom-light: #c69aee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fe5",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 270,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65379,
    "c": 0.17638,
    "h": 305.1
  },
  "luminance": 0.25572
}

Semantic roles & 50–950 ramp

primary
#AA6FE5
secondary
#D8EBC5
accent
#D11473
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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