#AA7FFA#AA7FFA

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

Color values

HEX#AA7FFA
RGBrgb(170, 127, 250)
HSLhsl(261, 92%, 74%)
HSVhsv(261, 49%, 98%)
CMYKcmyk(32%, 49.2%, 0%, 2%)
CIE-LABlab(62.19, 42.04, -55.73)
CIE-LCHlch(62.19, 69.81, 307.03°)
OKLaboklab(69.13% 0.0825 -0.1571)
OKLCHoklch(69.13% 0.177 297.7)
XYZxyz(41.4180, 30.6264, 94.1533)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FFA #CFFA7F
analogous
#7F92FA #AA7FFA #E87FFA
triadic
#AA7FFA #FAAA7F #7FFAAA
tetradic
#AA7FFA #FA7F92 #CFFA7F #7FFAE8
square
#AA7FFA #FA7F92 #CFFA7F #7FFAE8
split-complementary
#AA7FFA #FAE87F #92FA7F
monochromatic
#5C0AF5 #8344F8 #AA7FFA #D1BAFC #EBE2FE

Accessibility & contrast

On white

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

On black

7.13
#AA7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA7FFA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FFA#FFFFFF#000000##000000
##AA7FFA1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#9996B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa7ffa;
/* rgb */ color: rgb(170, 127, 250);
/* oklch */ color: oklch(69.1% 0.177 297.7);
Tailwind
colors: {
  custom: {
    50: '#c7a5fc',
    500: '#aa7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ffa;
$custom-light: #c7a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ffa",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 260.976,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69133,
    "c": 0.17747,
    "h": 297.7
  },
  "luminance": 0.30627
}

Semantic roles & 50–950 ramp

primary
#AA7FFA
secondary
#EAF6D5
accent
#E60095
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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