#AA7AFA#AA7AFA

#AA7AFA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.185 H 298.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AA7AFA
RGBrgb(170, 122, 250)
HSLhsl(263, 93%, 73%)
HSVhsv(263, 51%, 98%)
CMYKcmyk(32%, 51.2%, 0%, 2%)
CIE-LABlab(61.10, 44.79, -57.46)
CIE-LCHlch(61.10, 72.86, 307.94°)
OKLaboklab(68.33% 0.0889 -0.1622)
OKLCHoklch(68.33% 0.185 298.7)
XYZxyz(40.7882, 29.3669, 93.9434)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AFA #CAFA7A
analogous
#7A8AFA #AA7AFA #EA7AFA
triadic
#AA7AFA #FAAA7A #7AFAAA
tetradic
#AA7AFA #FA7A8A #CAFA7A #7AFAEA
square
#AA7AFA #FA7A8A #CAFA7A #7AFAEA
split-complementary
#AA7AFA #FAEA7A #8AFA7A
monochromatic
#6009F1 #843FF8 #AA7AFA #D0B5FC #ECE2FE

Accessibility & contrast

On white

3.06
#AA7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#AA7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AFA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AFA#FFFFFF#000000##000000
##AA7AFA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#5892F7
Tritanopia (blue-blind)
#9993AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa7afa;
/* rgb */ color: rgb(170, 122, 250);
/* oklch */ color: oklch(68.3% 0.185 298.7);
Tailwind
colors: {
  custom: {
    50: '#c7a1fc',
    500: '#aa7afa',
    950: '#000000',
  },
}
SCSS
$custom: #aa7afa;
$custom-light: #c7a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7afa",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 262.5,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68325,
    "c": 0.18493,
    "h": 298.7
  },
  "luminance": 0.29367
}

Semantic roles & 50–950 ramp

primary
#AA7AFA
secondary
#EAF6D5
accent
#E6008F
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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