#AA7AF7#AA7AF7

#AA7AF7 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.2% C 0.181 H 299.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AA7AF7
RGBrgb(170, 122, 247)
HSLhsl(263, 89%, 72%)
HSVhsv(263, 51%, 97%)
CMYKcmyk(31.2%, 50.6%, 0%, 3.1%)
CIE-LABlab(60.94, 44.06, -56.07)
CIE-LCHlch(60.94, 71.31, 308.16°)
OKLaboklab(68.15% 0.0887 -0.1581)
OKLCHoklch(68.15% 0.181 299.3)
XYZxyz(40.3216, 29.1802, 91.4857)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AF7 #C7F77A
analogous
#7A89F7 #AA7AF7 #E87AF7
triadic
#AA7AF7 #F7AA7A #7AF7AA
tetradic
#AA7AF7 #F77A89 #C7F77A #7AF7E8
square
#AA7AF7 #F77A89 #C7F77A #7AF7E8
split-complementary
#AA7AF7 #F7E87A #89F77A
monochromatic
#620EE9 #8540F4 #AA7AF7 #CFB4FA #EDE2FD

Accessibility & contrast

On white

3.07
#AA7AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AA7AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AF7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AF7#FFFFFF#000000##000000
##AA7AF71.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#9A92AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7af7;
/* rgb */ color: rgb(170, 122, 247);
/* oklch */ color: oklch(68.2% 0.181 299.3);
Tailwind
colors: {
  custom: {
    50: '#c7a1fa',
    500: '#aa7af7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7af7;
$custom-light: #c7a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7af7",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 263.04,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6815,
    "c": 0.18126,
    "h": 299.3
  },
  "luminance": 0.29181
}

Semantic roles & 50–950 ramp

primary
#AA7AF7
secondary
#E9F5D6
accent
#E5008D
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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