#AA6FEB#AA6FEB

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

Color values

HEX#AA6FEB
RGBrgb(170, 111, 235)
HSLhsl(269, 76%, 68%)
HSVhsv(269, 53%, 92%)
CMYKcmyk(27.7%, 52.8%, 0%, 7.8%)
CIE-LABlab(57.95, 47.15, -54.17)
CIE-LCHlch(57.95, 71.82, 311.03°)
OKLaboklab(65.72% 0.1019 -0.1525)
OKLCHoklch(65.72% 0.183 303.7)
XYZxyz(37.2541, 25.9132, 81.6203)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FEB #B0EB6F
analogous
#6F72EB #AA6FEB #E86FEB
triadic
#AA6FEB #EBAA6F #6FEBAA
tetradic
#AA6FEB #EB6F72 #B0EB6F #6FEBE8
square
#AA6FEB #EB6F72 #B0EB6F #6FEBE8
split-complementary
#AA6FEB #EBE86F #72EB6F
monochromatic
#6C1BC4 #8A39E4 #AA6FEB #CAA5F2 #E9DAFA

Accessibility & contrast

On white

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

On black

6.18
#AA6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FEB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FEB#FFFFFF#000000##000000
##AA6FEB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#9E86A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6feb;
/* rgb */ color: rgb(170, 111, 235);
/* oklch */ color: oklch(65.7% 0.183 303.7);
Tailwind
colors: {
  custom: {
    50: '#c69af2',
    500: '#aa6feb',
    950: '#000000',
  },
}
SCSS
$custom: #aa6feb;
$custom-light: #c69af2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6feb",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 268.548,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.18343,
    "h": 303.7
  },
  "luminance": 0.25913
}

Semantic roles & 50–950 ramp

primary
#AA6FEB
secondary
#DCEEC8
accent
#D80E78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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