#AA6AFF#AA6AFF

#AA6AFF is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.2% C 0.214 H 300.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA6AFF
RGBrgb(170, 106, 255)
HSLhsl(266, 100%, 71%)
HSVhsv(266, 58%, 100%)
CMYKcmyk(33.3%, 58.4%, 0%, 0%)
CIE-LABlab(58.11, 54.57, -65.02)
CIE-LCHlch(58.11, 84.88, 310.01°)
OKLaboklab(66.21% 0.1084 -0.1843)
OKLCHoklch(66.21% 0.214 300.5)
XYZxyz(39.7773, 26.0739, 97.5255)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AFF #BFFF6A
analogous
#6A74FF #AA6AFF #F56AFF
triadic
#AA6AFF #FFAA6A #6AFFAA
tetradic
#AA6AFF #FF6A74 #BFFF6A #6AFFF5
square
#AA6AFF #FF6A74 #BFFF6A #6AFFF5
split-complementary
#AA6AFF #FFF56A #74FF6A
monochromatic
#6600EF #872DFF #AA6AFF #CDA7FF #EEE0FF

Accessibility & contrast

On white

3.38
#AA6AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AA6AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AFF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AFF#FFFFFF#000000##000000
##AA6AFF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#168BFF
Deuteranopia (green-blind)
#3B8BFC
Tritanopia (blue-blind)
#9889AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6aff;
/* rgb */ color: rgb(170, 106, 255);
/* oklch */ color: oklch(66.2% 0.214 300.5);
Tailwind
colors: {
  custom: {
    50: '#c897ff',
    500: '#aa6aff',
    950: '#000000',
  },
}
SCSS
$custom: #aa6aff;
$custom-light: #c897ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6aff",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 265.772,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6621,
    "c": 0.21383,
    "h": 300.5
  },
  "luminance": 0.26074
}

Semantic roles & 50–950 ramp

primary
#AA6AFF
secondary
#E5F6CE
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AA6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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