#AA6AFC#AA6AFC

#AA6AFC is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.0% C 0.210 H 301.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AA6AFC
RGBrgb(170, 106, 252)
HSLhsl(266, 96%, 70%)
HSVhsv(266, 58%, 99%)
CMYKcmyk(32.5%, 57.9%, 0%, 1.2%)
CIE-LABlab(57.93, 53.85, -63.65)
CIE-LCHlch(57.93, 83.38, 310.23°)
OKLaboklab(66.02% 0.1084 -0.1803)
OKLCHoklch(66.02% 0.21 301)
XYZxyz(39.2981, 25.8822, 95.0020)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AFC #BCFC6A
analogous
#6A73FC #AA6AFC #F36AFC
triadic
#AA6AFC #FCAA6A #6AFCAA
tetradic
#AA6AFC #FC6A73 #BCFC6A #6AFCF3
square
#AA6AFC #FC6A73 #BCFC6A #6AFCF3
split-complementary
#AA6AFC #FCF36A #73FC6A
monochromatic
#6805E7 #882EFB #AA6AFC #CCA6FD #EEE1FE

Accessibility & contrast

On white

3.40
#AA6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AA6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AFC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AFC#FFFFFF#000000##000000
##AA6AFC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8AFF
Deuteranopia (green-blind)
#3F8AF9
Tritanopia (blue-blind)
#9988A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6afc;
/* rgb */ color: rgb(170, 106, 252);
/* oklch */ color: oklch(66.0% 0.210 301.0);
Tailwind
colors: {
  custom: {
    50: '#c897fe',
    500: '#aa6afc',
    950: '#000000',
  },
}
SCSS
$custom: #aa6afc;
$custom-light: #c897fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6afc",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 266.301,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66019,
    "c": 0.21042,
    "h": 301
  },
  "luminance": 0.25882
}

Semantic roles & 50–950 ramp

primary
#AA6AFC
secondary
#E3F5CD
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AA6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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