#AA6AFD#AA6AFD

#AA6AFD is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.212 H 300.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA6AFD
RGBrgb(170, 106, 253)
HSLhsl(266, 97%, 70%)
HSVhsv(266, 58%, 99%)
CMYKcmyk(32.8%, 58.1%, 0%, 0.8%)
CIE-LABlab(57.99, 54.09, -64.11)
CIE-LCHlch(57.99, 83.88, 310.15°)
OKLaboklab(66.08% 0.1084 -0.1817)
OKLCHoklch(66.08% 0.212 300.8)
XYZxyz(39.4570, 25.9458, 95.8387)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AFD #BDFD6A
analogous
#6A74FD #AA6AFD #F36AFD
triadic
#AA6AFD #FDAA6A #6AFDAA
tetradic
#AA6AFD #FD6A74 #BDFD6A #6AFDF3
square
#AA6AFD #FD6A74 #BDFD6A #6AFDF3
split-complementary
#AA6AFD #FDF36A #74FD6A
monochromatic
#6703E9 #882EFC #AA6AFD #CCA6FE #EEE1FF

Accessibility & contrast

On white

3.39
#AA6AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AA6AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AFD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AFD#FFFFFF#000000##000000
##AA6AFD1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8BFF
Deuteranopia (green-blind)
#3E8AFA
Tritanopia (blue-blind)
#9988AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6afd;
/* rgb */ color: rgb(170, 106, 253);
/* oklch */ color: oklch(66.1% 0.212 300.8);
Tailwind
colors: {
  custom: {
    50: '#c897ff',
    500: '#aa6afd',
    950: '#000000',
  },
}
SCSS
$custom: #aa6afd;
$custom-light: #c897ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6afd",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 266.122,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66083,
    "c": 0.21155,
    "h": 300.8
  },
  "luminance": 0.25946
}

Semantic roles & 50–950 ramp

primary
#AA6AFD
secondary
#E4F6CD
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AA6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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