#AA6EF1#AA6EF1

#AA6EF1 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.9% C 0.192 H 302.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA6EF1
RGBrgb(170, 110, 241)
HSLhsl(267, 82%, 69%)
HSVhsv(267, 54%, 95%)
CMYKcmyk(29.5%, 54.4%, 0%, 5.5%)
CIE-LABlab(58.08, 49.11, -57.31)
CIE-LCHlch(58.08, 75.47, 310.59°)
OKLaboklab(65.93% 0.1034 -0.1617)
OKLCHoklch(65.93% 0.192 302.6)
XYZxyz(38.0271, 26.0488, 86.2266)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6EF1 #B5F16E
analogous
#6E74F1 #AA6EF1 #EC6EF1
triadic
#AA6EF1 #F1AA6E #6EF1AA
tetradic
#AA6EF1 #F16E74 #B5F16E #6EF1EC
square
#AA6EF1 #F16E74 #B5F16E #6EF1EC
split-complementary
#AA6EF1 #F1EC6E #74F16E
monochromatic
#6A14D0 #8936EC #AA6EF1 #CBA6F6 #EBDEFC

Accessibility & contrast

On white

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

On black

6.21
#AA6EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6EF1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6EF1#FFFFFF#000000##000000
##AA6EF11.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF5
Deuteranopia (green-blind)
#518BEE
Tritanopia (blue-blind)
#9D87A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6ef1;
/* rgb */ color: rgb(170, 110, 241);
/* oklch */ color: oklch(65.9% 0.192 302.6);
Tailwind
colors: {
  custom: {
    50: '#c799f6',
    500: '#aa6ef1',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ef1;
$custom-light: #c799f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ef1",
  "rgb": {
    "r": 170,
    "g": 110,
    "b": 241
  },
  "hsl": {
    "h": 267.481,
    "s": 82.39,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65928,
    "c": 0.19196,
    "h": 302.6
  },
  "luminance": 0.26049
}

Semantic roles & 50–950 ramp

primary
#AA6EF1
secondary
#DFF1CA
accent
#DF077C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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