#AA79EB#AA79EB

#AA79EB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.168 H 301.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AA79EB
RGBrgb(170, 121, 235)
HSLhsl(266, 74%, 70%)
HSVhsv(266, 49%, 92%)
CMYKcmyk(27.7%, 48.5%, 0%, 7.8%)
CIE-LABlab(60.09, 41.70, -50.78)
CIE-LCHlch(60.09, 65.71, 309.39°)
OKLaboklab(67.31% 0.0889 -0.1426)
OKLCHoklch(67.31% 0.168 301.9)
XYZxyz(38.4069, 28.2189, 82.0046)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79EB #BAEB79
analogous
#7981EB #AA79EB #E379EB
triadic
#AA79EB #EBAA79 #79EBAA
tetradic
#AA79EB #EB7981 #BAEB79 #79EBE3
square
#AA79EB #EB7981 #BAEB79 #79EBE3
split-complementary
#AA79EB #EBE379 #81EB79
monochromatic
#691ECB #8844E3 #AA79EB #CCAEF3 #EEE4FB

Accessibility & contrast

On white

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

On black

6.64
#AA79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79EB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79EB#FFFFFF#000000##000000
##AA79EB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#9E8EA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa79eb;
/* rgb */ color: rgb(170, 121, 235);
/* oklch */ color: oklch(67.3% 0.168 301.9);
Tailwind
colors: {
  custom: {
    50: '#c6a1f2',
    500: '#aa79eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa79eb;
$custom-light: #c6a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79eb",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 265.789,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67307,
    "c": 0.16806,
    "h": 301.9
  },
  "luminance": 0.28219
}

Semantic roles & 50–950 ramp

primary
#AA79EB
secondary
#E2F0D0
accent
#D60F81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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