#AA6FEE#AA6FEE

#AA6FEE is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.187 H 303.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA6FEE
RGBrgb(170, 111, 238)
HSLhsl(268, 79%, 68%)
HSVhsv(268, 53%, 93%)
CMYKcmyk(28.6%, 53.4%, 0%, 6.7%)
CIE-LABlab(58.12, 47.86, -55.58)
CIE-LCHlch(58.12, 73.34, 310.73°)
OKLaboklab(65.9% 0.1021 -0.1567)
OKLCHoklch(65.9% 0.187 303.1)
XYZxyz(37.6912, 26.0880, 83.9222)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FEE #B3EE6F
analogous
#6F73EE #AA6FEE #E96FEE
triadic
#AA6FEE #EEAA6F #6FEEAA
tetradic
#AA6FEE #EE6F73 #B3EE6F #6FEEE9
square
#AA6FEE #EE6F73 #B3EE6F #6FEEE9
split-complementary
#AA6FEE #EEE96F #73EE6F
monochromatic
#6B18CB #8A38E8 #AA6FEE #CAA6F4 #EBDCFB

Accessibility & contrast

On white

3.38
#AA6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AA6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FEE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FEE#FFFFFF#000000##000000
##AA6FEE1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#9E87A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6fee;
/* rgb */ color: rgb(170, 111, 238);
/* oklch */ color: oklch(65.9% 0.187 303.1);
Tailwind
colors: {
  custom: {
    50: '#c79af4',
    500: '#aa6fee',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fee;
$custom-light: #c79af4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fee",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 267.874,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65901,
    "c": 0.18696,
    "h": 303.1
  },
  "luminance": 0.26088
}

Semantic roles & 50–950 ramp

primary
#AA6FEE
secondary
#DEF0C9
accent
#DB0A7A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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