#AA74F9#AA74F9

#AA74F9 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.3% C 0.193 H 300.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AA74F9
RGBrgb(170, 116, 249)
HSLhsl(264, 92%, 72%)
HSVhsv(264, 53%, 98%)
CMYKcmyk(31.7%, 53.4%, 0%, 2.4%)
CIE-LABlab(59.78, 47.81, -59.03)
CIE-LCHlch(59.78, 75.97, 309.01°)
OKLaboklab(67.32% 0.0963 -0.1668)
OKLCHoklch(67.32% 0.193 300)
XYZxyz(39.9178, 27.8761, 92.8818)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74F9 #C3F974
analogous
#7481F9 #AA74F9 #ED74F9
triadic
#AA74F9 #F9AA74 #74F9AA
tetradic
#AA74F9 #F97481 #C3F974 #74F9ED
square
#AA74F9 #F97481 #C3F974 #74F9ED
split-complementary
#AA74F9 #F9ED74 #81F974
monochromatic
#640AE9 #8639F6 #AA74F9 #CEAFFC #EDE2FE

Accessibility & contrast

On white

3.19
#AA74F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AA74F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74F9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74F9#FFFFFF#000000##000000
##AA74F91.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FD
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#9A8EAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa74f9;
/* rgb */ color: rgb(170, 116, 249);
/* oklch */ color: oklch(67.3% 0.193 300.0);
Tailwind
colors: {
  custom: {
    50: '#c79dfc',
    500: '#aa74f9',
    950: '#000000',
  },
}
SCSS
$custom: #aa74f9;
$custom-light: #c79dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74f9",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 264.361,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67324,
    "c": 0.19257,
    "h": 300
  },
  "luminance": 0.27876
}

Semantic roles & 50–950 ramp

primary
#AA74F9
secondary
#E8F5D3
accent
#E60088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74F9

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

Preview Lab → · Contrast checker → · Palette generator →

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