#AA7FF9#AA7FF9

#AA7FF9 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.176 H 297.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AA7FF9
RGBrgb(170, 127, 249)
HSLhsl(261, 91%, 74%)
HSVhsv(261, 49%, 98%)
CMYKcmyk(31.7%, 49%, 0%, 2.4%)
CIE-LABlab(62.14, 41.79, -55.26)
CIE-LCHlch(62.14, 69.29, 307.10°)
OKLaboklab(69.08% 0.0825 -0.1557)
OKLCHoklch(69.08% 0.176 297.9)
XYZxyz(41.2617, 30.5639, 93.3297)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FF9 #CEF97F
analogous
#7F91F9 #AA7FF9 #E77FF9
triadic
#AA7FF9 #F9AA7F #7FF9AA
tetradic
#AA7FF9 #F97F91 #CEF97F #7FF9E7
square
#AA7FF9 #F97F91 #CEF97F #7FF9E7
split-complementary
#AA7FF9 #F9E77F #91F97F
monochromatic
#5D0BF2 #8345F6 #AA7FF9 #D1B9FC #ECE2FE

Accessibility & contrast

On white

2.95
#AA7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AA7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7FF9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FF9#FFFFFF#000000##000000
##AA7FF91.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FD
Deuteranopia (green-blind)
#5F95F6
Tritanopia (blue-blind)
#9996B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7ff9;
/* rgb */ color: rgb(170, 127, 249);
/* oklch */ color: oklch(69.1% 0.176 297.9);
Tailwind
colors: {
  custom: {
    50: '#c6a5fc',
    500: '#aa7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ff9;
$custom-light: #c6a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ff9",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 261.148,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69076,
    "c": 0.17623,
    "h": 297.9
  },
  "luminance": 0.30564
}

Semantic roles & 50–950 ramp

primary
#AA7FF9
secondary
#EAF6D5
accent
#E60095
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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