#AA6FEA#AA6FEA

#AA6FEA is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.182 H 304.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA6FEA
RGBrgb(170, 111, 234)
HSLhsl(269, 75%, 68%)
HSVhsv(269, 53%, 92%)
CMYKcmyk(27.4%, 52.6%, 0%, 8.2%)
CIE-LABlab(57.90, 46.91, -53.70)
CIE-LCHlch(57.90, 71.31, 311.14°)
OKLaboklab(65.67% 0.1018 -0.1512)
OKLCHoklch(65.67% 0.182 304)
XYZxyz(37.1100, 25.8556, 80.8615)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FEA #AFEA6F
analogous
#6F72EA #AA6FEA #E76FEA
triadic
#AA6FEA #EAAA6F #6FEAAA
tetradic
#AA6FEA #EA6F72 #AFEA6F #6FEAE7
square
#AA6FEA #EA6F72 #AFEA6F #6FEAE7
split-complementary
#AA6FEA #EAE76F #72EA6F
monochromatic
#6C1CC2 #8A3AE2 #AA6FEA #CAA4F2 #E9DAFA

Accessibility & contrast

On white

3.40
#AA6FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AA6FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FEA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FEA#FFFFFF#000000##000000
##AA6FEA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#9F86A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6fea;
/* rgb */ color: rgb(170, 111, 234);
/* oklch */ color: oklch(65.7% 0.182 304.0);
Tailwind
colors: {
  custom: {
    50: '#c69af1',
    500: '#aa6fea',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fea;
$custom-light: #c69af1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fea",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 268.78,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.18225,
    "h": 304
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

primary
#AA6FEA
secondary
#DBEDC7
accent
#D70F77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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