#AA6EF5#AA6EF5

#AA6EF5 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.197 H 301.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AA6EF5
RGBrgb(170, 110, 245)
HSLhsl(267, 87%, 70%)
HSVhsv(267, 55%, 96%)
CMYKcmyk(30.6%, 55.1%, 0%, 3.9%)
CIE-LABlab(58.31, 50.06, -59.16)
CIE-LCHlch(58.31, 77.50, 310.24°)
OKLaboklab(66.17% 0.1036 -0.1671)
OKLCHoklch(66.17% 0.197 301.8)
XYZxyz(38.6311, 26.2904, 89.4078)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6EF5 #B9F56E
analogous
#6E75F5 #AA6EF5 #EE6EF5
triadic
#AA6EF5 #F5AA6E #6EF5AA
tetradic
#AA6EF5 #F56E75 #B9F56E #6EF5EE
square
#AA6EF5 #F56E75 #B9F56E #6EF5EE
split-complementary
#AA6EF5 #F5EE6E #75F56E
monochromatic
#690FDA #8835F1 #AA6EF5 #CCA7F9 #EDE1FD

Accessibility & contrast

On white

3.36
#AA6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AA6EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6EF5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6EF5#FFFFFF#000000##000000
##AA6EF51.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF9
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#9B89A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6ef5;
/* rgb */ color: rgb(170, 110, 245);
/* oklch */ color: oklch(66.2% 0.197 301.8);
Tailwind
colors: {
  custom: {
    50: '#c799f9',
    500: '#aa6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ef5;
$custom-light: #c799f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ef5",
  "rgb": {
    "r": 170,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 266.667,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6617,
    "c": 0.19663,
    "h": 301.8
  },
  "luminance": 0.2629
}

Semantic roles & 50–950 ramp

primary
#AA6EF5
secondary
#E2F3CC
accent
#E4027F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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