#AA7AEB#AA7AEB

#AA7AEB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.167 H 301.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AA7AEB
RGBrgb(170, 122, 235)
HSLhsl(265, 74%, 70%)
HSVhsv(265, 48%, 92%)
CMYKcmyk(27.7%, 48.1%, 0%, 7.8%)
CIE-LABlab(60.30, 41.14, -50.44)
CIE-LCHlch(60.30, 65.09, 309.21°)
OKLaboklab(67.47% 0.0875 -0.1416)
OKLCHoklch(67.47% 0.167 301.7)
XYZxyz(38.5291, 28.4632, 82.0453)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AEB #BBEB7A
analogous
#7A82EB #AA7AEB #E37AEB
triadic
#AA7AEB #EBAA7A #7AEBAA
tetradic
#AA7AEB #EB7A82 #BBEB7A #7AEBE3
square
#AA7AEB #EB7A82 #BBEB7A #7AEBE3
split-complementary
#AA7AEB #EBE37A #82EB7A
monochromatic
#681FCC #8845E3 #AA7AEB #CCAFF3 #EEE4FB

Accessibility & contrast

On white

3.14
#AA7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AA7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AEB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AEB#FFFFFF#000000##000000
##AA7AEB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#9E8EA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7aeb;
/* rgb */ color: rgb(170, 122, 235);
/* oklch */ color: oklch(67.5% 0.167 301.7);
Tailwind
colors: {
  custom: {
    50: '#c6a1f2',
    500: '#aa7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #aa7aeb;
$custom-light: #c6a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7aeb",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 265.487,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.67471,
    "c": 0.16651,
    "h": 301.7
  },
  "luminance": 0.28463
}

Semantic roles & 50–950 ramp

primary
#AA7AEB
secondary
#E3F0D1
accent
#D61082
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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