#AA79EC#AA79EC

#AA79EC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.169 H 301.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AA79EC
RGBrgb(170, 121, 236)
HSLhsl(266, 75%, 70%)
HSVhsv(266, 49%, 93%)
CMYKcmyk(28%, 48.7%, 0%, 7.5%)
CIE-LABlab(60.14, 41.94, -51.26)
CIE-LCHlch(60.14, 66.23, 309.29°)
OKLaboklab(67.36% 0.089 -0.144)
OKLCHoklch(67.36% 0.169 301.7)
XYZxyz(38.5518, 28.2768, 82.7676)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79EC #BBEC79
analogous
#7982EC #AA79EC #E379EC
triadic
#AA79EC #ECAA79 #79ECAA
tetradic
#AA79EC #EC7982 #BBEC79 #79ECE3
square
#AA79EC #EC7982 #BBEC79 #79ECE3
split-complementary
#AA79EC #ECE379 #82EC79
monochromatic
#681DCD #8843E4 #AA79EC #CCAFF4 #EEE4FB

Accessibility & contrast

On white

3.16
#AA79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AA79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79EC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79EC#FFFFFF#000000##000000
##AA79EC1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#6290E9
Tritanopia (blue-blind)
#9E8EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa79ec;
/* rgb */ color: rgb(170, 121, 236);
/* oklch */ color: oklch(67.4% 0.169 301.7);
Tailwind
colors: {
  custom: {
    50: '#c6a1f3',
    500: '#aa79ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa79ec;
$custom-light: #c6a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79ec",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 265.565,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.16929,
    "h": 301.7
  },
  "luminance": 0.28277
}

Semantic roles & 50–950 ramp

primary
#AA79EC
secondary
#E3F0D0
accent
#D70E82
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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