#AA79F2#AA79F2

#AA79F2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.177 H 300.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AA79F2
RGBrgb(170, 121, 242)
HSLhsl(264, 82%, 71%)
HSVhsv(264, 50%, 95%)
CMYKcmyk(29.8%, 50%, 0%, 5.1%)
CIE-LABlab(60.45, 43.38, -54.08)
CIE-LCHlch(60.45, 69.33, 308.74°)
OKLaboklab(67.7% 0.0895 -0.1523)
OKLCHoklch(67.7% 0.177 300.5)
XYZxyz(39.4382, 28.6314, 87.4358)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79F2 #C1F279
analogous
#7984F2 #AA79F2 #E779F2
triadic
#AA79F2 #F2AA79 #79F2AA
tetradic
#AA79F2 #F27984 #C1F279 #79F2E7
square
#AA79F2 #F27984 #C1F279 #79F2E7
split-complementary
#AA79F2 #F2E779 #84F279
monochromatic
#6515DB #8741ED #AA79F2 #CDB1F7 #EDE3FC

Accessibility & contrast

On white

3.12
#AA79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#AA79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79F2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79F2#FFFFFF#000000##000000
##AA79F21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#9C90AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa79f2;
/* rgb */ color: rgb(170, 121, 242);
/* oklch */ color: oklch(67.7% 0.177 300.5);
Tailwind
colors: {
  custom: {
    50: '#c6a1f7',
    500: '#aa79f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa79f2;
$custom-light: #c6a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79f2",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 264.298,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67702,
    "c": 0.17665,
    "h": 300.5
  },
  "luminance": 0.28632
}

Semantic roles & 50–950 ramp

primary
#AA79F2
secondary
#E6F3D3
accent
#DF0787
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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