#AA7AFC#AA7AFC

#AA7AFC is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.187 H 298.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AA7AFC
RGBrgb(170, 122, 252)
HSLhsl(262, 96%, 73%)
HSVhsv(262, 52%, 99%)
CMYKcmyk(32.5%, 51.6%, 0%, 1.2%)
CIE-LABlab(61.21, 45.29, -58.39)
CIE-LCHlch(61.21, 73.89, 307.80°)
OKLaboklab(68.44% 0.089 -0.1649)
OKLCHoklch(68.44% 0.187 298.4)
XYZxyz(41.1035, 29.4930, 95.6038)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AFC #CCFC7A
analogous
#7A8BFC #AA7AFC #EB7AFC
triadic
#AA7AFC #FCAA7A #7AFCAA
tetradic
#AA7AFC #FC7A8B #CCFC7A #7AFCEB
square
#AA7AFC #FC7A8B #CCFC7A #7AFCEB
split-complementary
#AA7AFC #FCEB7A #8BFC7A
monochromatic
#5E06F6 #843EFB #AA7AFC #D0B6FD #ECE1FE

Accessibility & contrast

On white

3.04
#AA7AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AA7AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AFC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AFC#FFFFFF#000000##000000
##AA7AFC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#9893B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa7afc;
/* rgb */ color: rgb(170, 122, 252);
/* oklch */ color: oklch(68.4% 0.187 298.4);
Tailwind
colors: {
  custom: {
    50: '#c7a1fe',
    500: '#aa7afc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7afc;
$custom-light: #c7a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7afc",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 262.154,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68442,
    "c": 0.18737,
    "h": 298.4
  },
  "luminance": 0.29493
}

Semantic roles & 50–950 ramp

primary
#AA7AFC
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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