#AA6EF7#AA6EF7

#AA6EF7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.199 H 301.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AA6EF7
RGBrgb(170, 110, 247)
HSLhsl(266, 90%, 70%)
HSVhsv(266, 55%, 97%)
CMYKcmyk(31.2%, 55.5%, 0%, 3.1%)
CIE-LABlab(58.43, 50.54, -60.08)
CIE-LCHlch(58.43, 78.51, 310.07°)
OKLaboklab(66.29% 0.1036 -0.1698)
OKLCHoklch(66.29% 0.199 301.4)
XYZxyz(38.9381, 26.4132, 91.0245)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6EF7 #BBF76E
analogous
#6E77F7 #AA6EF7 #EE6EF7
triadic
#AA6EF7 #F7AA6E #6EF7AA
tetradic
#AA6EF7 #F76E77 #BBF76E #6EF7EE
square
#AA6EF7 #F76E77 #BBF76E #6EF7EE
split-complementary
#AA6EF7 #F7EE6E #77F76E
monochromatic
#680CDE #8834F4 #AA6EF7 #CCA8FA #EEE2FD

Accessibility & contrast

On white

3.34
#AA6EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AA6EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6EF7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6EF7#FFFFFF#000000##000000
##AA6EF71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#4B8CF4
Tritanopia (blue-blind)
#9B89A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6ef7;
/* rgb */ color: rgb(170, 110, 247);
/* oklch */ color: oklch(66.3% 0.199 301.4);
Tailwind
colors: {
  custom: {
    50: '#c79afa',
    500: '#aa6ef7',
    950: '#000000',
  },
}
SCSS
$custom: #aa6ef7;
$custom-light: #c79afa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6ef7",
  "rgb": {
    "r": 170,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 266.277,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.19896,
    "h": 301.4
  },
  "luminance": 0.26413
}

Semantic roles & 50–950 ramp

primary
#AA6EF7
secondary
#E3F4CD
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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