#AA6FE6#AA6FE6

#AA6FE6 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.178 H 304.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA6FE6
RGBrgb(170, 111, 230)
HSLhsl(270, 70%, 67%)
HSVhsv(270, 52%, 90%)
CMYKcmyk(26.1%, 51.7%, 0%, 9.8%)
CIE-LABlab(57.68, 45.97, -51.82)
CIE-LCHlch(57.68, 69.27, 311.58°)
OKLaboklab(65.44% 0.1016 -0.1456)
OKLCHoklch(65.44% 0.178 304.9)
XYZxyz(36.5419, 25.6283, 77.8692)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FE6 #ABE66F
analogous
#6F70E6 #AA6FE6 #E66FE6
triadic
#AA6FE6 #E6AA6F #6FE6AA
tetradic
#AA6FE6 #E66F70 #ABE66F #6FE6E6
square
#AA6FE6 #E66F70 #ABE66F #6FE6E6
split-complementary
#AA6FE6 #E6E66F #70E66F
monochromatic
#6D20BA #8B3BDD #AA6FE6 #C9A3EF #E8D7F8

Accessibility & contrast

On white

3.43
#AA6FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AA6FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FE6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FE6#FFFFFF#000000##000000
##AA6FE61.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4989EA
Deuteranopia (green-blind)
#5B8BE3
Tritanopia (blue-blind)
#A085A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6fe6;
/* rgb */ color: rgb(170, 111, 230);
/* oklch */ color: oklch(65.4% 0.178 304.9);
Tailwind
colors: {
  custom: {
    50: '#c69aee',
    500: '#aa6fe6',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fe6;
$custom-light: #c69aee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fe6",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 269.748,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65436,
    "c": 0.17755,
    "h": 304.9
  },
  "luminance": 0.25628
}

Semantic roles & 50–950 ramp

primary
#AA6FE6
secondary
#D9EBC5
accent
#D21374
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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