#AA7AF6#AA7AF6

#AA7AF6 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.180 H 299.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AA7AF6
RGBrgb(170, 122, 246)
HSLhsl(263, 87%, 72%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(30.9%, 50.4%, 0%, 3.5%)
CIE-LABlab(60.89, 43.81, -55.60)
CIE-LCHlch(60.89, 70.79, 308.24°)
OKLaboklab(68.09% 0.0886 -0.1567)
OKLCHoklch(68.09% 0.18 299.5)
XYZxyz(40.1677, 29.1186, 90.6752)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AF6 #C6F67A
analogous
#7A88F6 #AA7AF6 #E87AF6
triadic
#AA7AF6 #F6AA7A #7AF6AA
tetradic
#AA7AF6 #F67A88 #C6F67A #7AF6E8
square
#AA7AF6 #F67A88 #C6F67A #7AF6E8
split-complementary
#AA7AF6 #F6E87A #88F67A
monochromatic
#6310E6 #8541F2 #AA7AF6 #CFB3FA #EDE2FD

Accessibility & contrast

On white

3.08
#AA7AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AA7AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AF6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AF6#FFFFFF#000000##000000
##AA7AF61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa7af6;
/* rgb */ color: rgb(170, 122, 246);
/* oklch */ color: oklch(68.1% 0.180 299.5);
Tailwind
colors: {
  custom: {
    50: '#c6a1fa',
    500: '#aa7af6',
    950: '#000000',
  },
}
SCSS
$custom: #aa7af6;
$custom-light: #c6a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7af6",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 263.226,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68092,
    "c": 0.18003,
    "h": 299.5
  },
  "luminance": 0.29119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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