#AA79EF#AA79EF

#AA79EF is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.173 H 301.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AA79EF
RGBrgb(170, 121, 239)
HSLhsl(265, 79%, 71%)
HSVhsv(265, 49%, 94%)
CMYKcmyk(28.9%, 49.4%, 0%, 6.3%)
CIE-LABlab(60.30, 42.66, -52.67)
CIE-LCHlch(60.30, 67.78, 309.00°)
OKLaboklab(67.53% 0.0893 -0.1482)
OKLCHoklch(67.53% 0.173 301.1)
XYZxyz(38.9913, 28.4526, 85.0823)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79EF #BEEF79
analogous
#7983EF #AA79EF #E579EF
triadic
#AA79EF #EFAA79 #79EFAA
tetradic
#AA79EF #EF7983 #BEEF79 #79EFE5
square
#AA79EF #EF7983 #BEEF79 #79EFE5
split-complementary
#AA79EF #EFE579 #83EF79
monochromatic
#6719D4 #8742E8 #AA79EF #CDB0F6 #EEE4FC

Accessibility & contrast

On white

3.14
#AA79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AA79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79EF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79EF#FFFFFF#000000##000000
##AA79EF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#9D8FA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa79ef;
/* rgb */ color: rgb(170, 121, 239);
/* oklch */ color: oklch(67.5% 0.173 301.1);
Tailwind
colors: {
  custom: {
    50: '#c6a1f5',
    500: '#aa79ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa79ef;
$custom-light: #c6a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79ef",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 264.915,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67532,
    "c": 0.17297,
    "h": 301.1
  },
  "luminance": 0.28453
}

Semantic roles & 50–950 ramp

primary
#AA79EF
secondary
#E5F2D2
accent
#DB0B84
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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