#AA7FF7#AA7FF7

#AA7FF7 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.174 H 298.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AA7FF7
RGBrgb(170, 127, 247)
HSLhsl(262, 88%, 73%)
HSVhsv(262, 49%, 97%)
CMYKcmyk(31.2%, 48.6%, 0%, 3.1%)
CIE-LABlab(62.03, 41.30, -54.33)
CIE-LCHlch(62.03, 68.24, 307.24°)
OKLaboklab(68.96% 0.0823 -0.153)
OKLCHoklch(68.96% 0.174 298.3)
XYZxyz(40.9514, 30.4398, 91.6956)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FF7 #CCF77F
analogous
#7F90F7 #AA7FF7 #E67FF7
triadic
#AA7FF7 #F7AA7F #7FF7AA
tetradic
#AA7FF7 #F77F90 #CCF77F #7FF7E6
square
#AA7FF7 #F77F90 #CCF77F #7FF7E6
split-complementary
#AA7FF7 #F7E67F #90F77F
monochromatic
#5E0FED #8445F3 #AA7FF7 #D0B9FB #ECE2FD

Accessibility & contrast

On white

2.96
#AA7FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AA7FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7FF7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FF7#FFFFFF#000000##000000
##AA7FF71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#9A96AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7ff7;
/* rgb */ color: rgb(170, 127, 247);
/* oklch */ color: oklch(69.0% 0.174 298.3);
Tailwind
colors: {
  custom: {
    50: '#c6a5fa',
    500: '#aa7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ff7;
$custom-light: #c6a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ff7",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 261.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68963,
    "c": 0.17373,
    "h": 298.3
  },
  "luminance": 0.3044
}

Semantic roles & 50–950 ramp

primary
#AA7FF7
secondary
#EAF5D6
accent
#E50193
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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