#AA74F6#AA74F6

#AA74F6 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.1% C 0.189 H 300.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AA74F6
RGBrgb(170, 116, 246)
HSLhsl(265, 88%, 71%)
HSVhsv(265, 53%, 96%)
CMYKcmyk(30.9%, 52.8%, 0%, 3.5%)
CIE-LABlab(59.61, 47.08, -57.64)
CIE-LCHlch(59.61, 74.43, 309.24°)
OKLaboklab(67.15% 0.0962 -0.1627)
OKLCHoklch(67.15% 0.189 300.6)
XYZxyz(39.4536, 27.6904, 90.4371)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74F6 #C0F674
analogous
#747FF6 #AA74F6 #EB74F6
triadic
#AA74F6 #F6AA74 #74F6AA
tetradic
#AA74F6 #F6747F #C0F674 #74F6EB
square
#AA74F6 #F6747F #C0F674 #74F6EB
split-complementary
#AA74F6 #F6EB74 #7FF674
monochromatic
#660FE1 #873BF2 #AA74F6 #CDADFA #EDE2FD

Accessibility & contrast

On white

3.21
#AA74F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AA74F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74F6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74F6#FFFFFF#000000##000000
##AA74F61.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#9B8DAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa74f6;
/* rgb */ color: rgb(170, 116, 246);
/* oklch */ color: oklch(67.1% 0.189 300.6);
Tailwind
colors: {
  custom: {
    50: '#c79dfa',
    500: '#aa74f6',
    950: '#000000',
  },
}
SCSS
$custom: #aa74f6;
$custom-light: #c79dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74f6",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 264.923,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67145,
    "c": 0.18899,
    "h": 300.6
  },
  "luminance": 0.27691
}

Semantic roles & 50–950 ramp

primary
#AA74F6
secondary
#E6F4D2
accent
#E40186
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74F6

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

Preview Lab → · Contrast checker → · Palette generator →

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