#AA79F8#AA79F8

#AA79F8 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.184 H 299.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AA79F8
RGBrgb(170, 121, 248)
HSLhsl(263, 90%, 72%)
HSVhsv(263, 51%, 97%)
CMYKcmyk(31.5%, 51.2%, 0%, 2.7%)
CIE-LABlab(60.78, 44.85, -56.88)
CIE-LCHlch(60.78, 72.43, 308.26°)
OKLaboklab(68.05% 0.09 -0.1605)
OKLCHoklch(68.05% 0.184 299.3)
XYZxyz(40.3542, 28.9978, 92.2598)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79F8 #C7F879
analogous
#7987F8 #AA79F8 #EA79F8
triadic
#AA79F8 #F8AA79 #79F8AA
tetradic
#AA79F8 #F87987 #C7F879 #79F8EA
square
#AA79F8 #F87987 #C7F879 #79F8EA
split-complementary
#AA79F8 #F8EA79 #87F879
monochromatic
#620CEA #853FF5 #AA79F8 #CFB3FB #EDE2FD

Accessibility & contrast

On white

3.09
#AA79F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AA79F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79F8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79F8#FFFFFF#000000##000000
##AA79F81.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FC
Deuteranopia (green-blind)
#5892F5
Tritanopia (blue-blind)
#9A91AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa79f8;
/* rgb */ color: rgb(170, 121, 248);
/* oklch */ color: oklch(68.0% 0.184 299.3);
Tailwind
colors: {
  custom: {
    50: '#c7a1fb',
    500: '#aa79f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa79f8;
$custom-light: #c7a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79f8",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 263.15,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68048,
    "c": 0.18398,
    "h": 299.3
  },
  "luminance": 0.28998
}

Semantic roles & 50–950 ramp

primary
#AA79F8
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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