#AA6AFB#AA6AFB

#AA6AFB is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.209 H 301.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA6AFB
RGBrgb(170, 106, 251)
HSLhsl(266, 95%, 70%)
HSVhsv(266, 58%, 98%)
CMYKcmyk(32.3%, 57.8%, 0%, 1.6%)
CIE-LABlab(57.86, 53.61, -63.20)
CIE-LCHlch(57.86, 82.87, 310.31°)
OKLaboklab(65.96% 0.1084 -0.179)
OKLCHoklch(65.96% 0.209 301.2)
XYZxyz(39.1401, 25.8190, 94.1696)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AFB #BBFB6A
analogous
#6A72FB #AA6AFB #F36AFB
triadic
#AA6AFB #FBAA6A #6AFBAA
tetradic
#AA6AFB #FB6A72 #BBFB6A #6AFBF3
square
#AA6AFB #FB6A72 #BBFB6A #6AFBF3
split-complementary
#AA6AFB #FBF36A #72FB6A
monochromatic
#6806E4 #882EF9 #AA6AFB #CCA6FD #EEE1FE

Accessibility & contrast

On white

3.41
#AA6AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AA6AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AFB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AFB#FFFFFF#000000##000000
##AA6AFB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#408AF8
Tritanopia (blue-blind)
#9A88A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6afb;
/* rgb */ color: rgb(170, 106, 251);
/* oklch */ color: oklch(66.0% 0.209 301.2);
Tailwind
colors: {
  custom: {
    50: '#c897fd',
    500: '#aa6afb',
    950: '#000000',
  },
}
SCSS
$custom: #aa6afb;
$custom-light: #c897fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6afb",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 266.483,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.65956,
    "c": 0.20928,
    "h": 301.2
  },
  "luminance": 0.25819
}

Semantic roles & 50–950 ramp

primary
#AA6AFB
secondary
#E3F5CC
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AA6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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