#AA6FEF#AA6FEF

#AA6FEF is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.0% C 0.188 H 302.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA6FEF
RGBrgb(170, 111, 239)
HSLhsl(268, 80%, 69%)
HSVhsv(268, 54%, 94%)
CMYKcmyk(28.9%, 53.6%, 0%, 6.3%)
CIE-LABlab(58.18, 48.09, -56.05)
CIE-LCHlch(58.18, 73.85, 310.63°)
OKLaboklab(65.96% 0.1021 -0.158)
OKLCHoklch(65.96% 0.188 302.9)
XYZxyz(37.8385, 26.1469, 84.6980)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FEF #B4EF6F
analogous
#6F74EF #AA6FEF #EA6FEF
triadic
#AA6FEF #EFAA6F #6FEFAA
tetradic
#AA6FEF #EF6F74 #B4EF6F #6FEFEA
square
#AA6FEF #EF6F74 #B4EF6F #6FEFEA
split-complementary
#AA6FEF #EFEA6F #74EF6F
monochromatic
#6B17CD #8938E9 #AA6FEF #CBA6F5 #EBDDFB

Accessibility & contrast

On white

3.37
#AA6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AA6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FEF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FEF#FFFFFF#000000##000000
##AA6FEF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#9D87A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6fef;
/* rgb */ color: rgb(170, 111, 239);
/* oklch */ color: oklch(66.0% 0.188 302.9);
Tailwind
colors: {
  custom: {
    50: '#c79af5',
    500: '#aa6fef',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fef;
$custom-light: #c79af5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fef",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 267.656,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65961,
    "c": 0.18813,
    "h": 302.9
  },
  "luminance": 0.26147
}

Semantic roles & 50–950 ramp

primary
#AA6FEF
secondary
#DEF0CA
accent
#DC097B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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