#AA6BEF#AA6BEF

#AA6BEF is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.194 H 303.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AA6BEF
RGBrgb(170, 107, 239)
HSLhsl(269, 80%, 68%)
HSVhsv(269, 55%, 94%)
CMYKcmyk(28.9%, 55.2%, 0%, 6.3%)
CIE-LABlab(57.36, 50.22, -57.35)
CIE-LCHlch(57.36, 76.23, 311.21°)
OKLaboklab(65.36% 0.1071 -0.1618)
OKLCHoklch(65.36% 0.194 303.5)
XYZxyz(37.4118, 25.2935, 84.5558)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BEF #B0EF6B
analogous
#6B6EEF #AA6BEF #EC6BEF
triadic
#AA6BEF #EFAA6B #6BEFAA
tetradic
#AA6BEF #EF6B6E #B0EF6B #6BEFEC
square
#AA6BEF #EF6B6E #B0EF6B #6BEFEC
split-complementary
#AA6BEF #EFEC6B #6EEF6B
monochromatic
#6C16CA #8A34E9 #AA6BEF #CAA2F5 #E9D9FB

Accessibility & contrast

On white

3.47
#AA6BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AA6BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BEF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BEF#FFFFFF#000000##000000
##AA6BEF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#9D85A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa6bef;
/* rgb */ color: rgb(170, 107, 239);
/* oklch */ color: oklch(65.4% 0.194 303.5);
Tailwind
colors: {
  custom: {
    50: '#c797f5',
    500: '#aa6bef',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bef;
$custom-light: #c797f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bef",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 268.636,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6536,
    "c": 0.19407,
    "h": 303.5
  },
  "luminance": 0.25293
}

Semantic roles & 50–950 ramp

primary
#AA6BEF
secondary
#DCEFC7
accent
#DD0978
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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