#AA7AEF#AA7AEF

#AA7AEF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.171 H 300.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AA7AEF
RGBrgb(170, 122, 239)
HSLhsl(265, 79%, 71%)
HSVhsv(265, 49%, 94%)
CMYKcmyk(28.9%, 49%, 0%, 6.3%)
CIE-LABlab(60.51, 42.11, -52.32)
CIE-LCHlch(60.51, 67.16, 308.82°)
OKLaboklab(67.69% 0.088 -0.1471)
OKLCHoklch(67.69% 0.171 300.9)
XYZxyz(39.1135, 28.6970, 85.1231)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AEF #BFEF7A
analogous
#7A84EF #AA7AEF #E47AEF
triadic
#AA7AEF #EFAA7A #7AEFAA
tetradic
#AA7AEF #EF7A84 #BFEF7A #7AEFE4
square
#AA7AEF #EF7A84 #BFEF7A #7AEFE4
split-complementary
#AA7AEF #EFE47A #84EF7A
monochromatic
#661AD5 #8743E8 #AA7AEF #CDB1F6 #EEE4FC

Accessibility & contrast

On white

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

On black

6.74
#AA7AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AEF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AEF#FFFFFF#000000##000000
##AA7AEF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#9D90A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa7aef;
/* rgb */ color: rgb(170, 122, 239);
/* oklch */ color: oklch(67.7% 0.171 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6a1f5',
    500: '#aa7aef',
    950: '#000000',
  },
}
SCSS
$custom: #aa7aef;
$custom-light: #c6a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7aef",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 264.615,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67694,
    "c": 0.17144,
    "h": 300.9
  },
  "luminance": 0.28697
}

Semantic roles & 50–950 ramp

primary
#AA7AEF
secondary
#E5F2D3
accent
#DB0B85
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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