#AA6AFA#AA6AFA

#AA6AFA is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.9% C 0.208 H 301.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA6AFA
RGBrgb(170, 106, 250)
HSLhsl(267, 94%, 70%)
HSVhsv(267, 58%, 98%)
CMYKcmyk(32%, 57.6%, 0%, 2%)
CIE-LABlab(57.80, 53.37, -62.74)
CIE-LCHlch(57.80, 82.37, 310.38°)
OKLaboklab(65.89% 0.1085 -0.1776)
OKLCHoklch(65.89% 0.208 301.4)
XYZxyz(38.9829, 25.7561, 93.3416)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AFA #BAFA6A
analogous
#6A72FA #AA6AFA #F26AFA
triadic
#AA6AFA #FAAA6A #6AFAAA
tetradic
#AA6AFA #FA6A72 #BAFA6A #6AFAF2
square
#AA6AFA #FA6A72 #BAFA6A #6AFAF2
split-complementary
#AA6AFA #FAF26A #72FA6A
monochromatic
#6908E2 #882FF8 #AA6AFA #CCA5FC #EEE0FE

Accessibility & contrast

On white

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

On black

6.15
#AA6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AFA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AFA#FFFFFF#000000##000000
##AA6AFA1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#238AFF
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#9A87A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6afa;
/* rgb */ color: rgb(170, 106, 250);
/* oklch */ color: oklch(65.9% 0.208 301.4);
Tailwind
colors: {
  custom: {
    50: '#c897fd',
    500: '#aa6afa',
    950: '#000000',
  },
}
SCSS
$custom: #aa6afa;
$custom-light: #c897fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6afa",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 266.667,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65892,
    "c": 0.20814,
    "h": 301.4
  },
  "luminance": 0.25756
}

Semantic roles & 50–950 ramp

primary
#AA6AFA
secondary
#E2F4CC
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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