#AA79FE#AA79FE

#AA79FE is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.191 H 298.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#AA79FE
RGBrgb(170, 121, 254)
HSLhsl(262, 99%, 74%)
HSVhsv(262, 52%, 100%)
CMYKcmyk(33.1%, 52.4%, 0%, 0.4%)
CIE-LABlab(61.11, 46.33, -59.65)
CIE-LCHlch(61.11, 75.53, 307.84°)
OKLaboklab(68.4% 0.0904 -0.1686)
OKLCHoklch(68.4% 0.191 298.2)
XYZxyz(41.2999, 29.3761, 97.2410)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79FE #CDFE79
analogous
#798AFE #AA79FE #EC79FE
triadic
#AA79FE #FEAA79 #79FEAA
tetradic
#AA79FE #FE798A #CDFE79 #79FEEC
square
#AA79FE #FE798A #CDFE79 #79FEEC
split-complementary
#AA79FE #FEEC79 #8AFE79
monochromatic
#5E02FB #833CFE #AA79FE #D1B6FE #ECE1FF

Accessibility & contrast

On white

3.05
#AA79FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#AA79FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79FE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79FE#FFFFFF#000000##000000
##AA79FE1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#9893B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa79fe;
/* rgb */ color: rgb(170, 121, 254);
/* oklch */ color: oklch(68.4% 0.191 298.2);
Tailwind
colors: {
  custom: {
    50: '#c7a1ff',
    500: '#aa79fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa79fe;
$custom-light: #c7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79fe",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 262.105,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68402,
    "c": 0.19127,
    "h": 298.2
  },
  "luminance": 0.29377
}

Semantic roles & 50–950 ramp

primary
#AA79FE
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AA79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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