#AA7BEA#AA7BEA

#AA7BEA is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.164 H 301.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AA7BEA
RGBrgb(170, 123, 234)
HSLhsl(265, 73%, 70%)
HSVhsv(265, 47%, 92%)
CMYKcmyk(27.4%, 47.4%, 0%, 8.2%)
CIE-LABlab(60.47, 40.35, -49.61)
CIE-LCHlch(60.47, 63.95, 309.12°)
OKLaboklab(67.58% 0.0861 -0.1392)
OKLCHoklch(67.58% 0.164 301.7)
XYZxyz(38.5085, 28.6524, 81.3277)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BEA #BBEA7B
analogous
#7B84EA #AA7BEA #E17BEA
triadic
#AA7BEA #EAAA7B #7BEAAA
tetradic
#AA7BEA #EA7B84 #BBEA7B #7BEAE1
square
#AA7BEA #EA7B84 #BBEA7B #7BEAE1
split-complementary
#AA7BEA #EAE17B #84EA7B
monochromatic
#6820CA #8846E2 #AA7BEA #CCB0F2 #EEE5FB

Accessibility & contrast

On white

3.12
#AA7BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#AA7BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BEA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BEA#FFFFFF#000000##000000
##AA7BEA1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#9E8FA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7bea;
/* rgb */ color: rgb(170, 123, 234);
/* oklch */ color: oklch(67.6% 0.164 301.7);
Tailwind
colors: {
  custom: {
    50: '#c6a2f1',
    500: '#aa7bea',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bea;
$custom-light: #c6a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bea",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 265.405,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.6758,
    "c": 0.16372,
    "h": 301.7
  },
  "luminance": 0.28652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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