#AA74F8#AA74F8

#AA74F8 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.191 H 300.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AA74F8
RGBrgb(170, 116, 248)
HSLhsl(265, 90%, 71%)
HSVhsv(265, 53%, 97%)
CMYKcmyk(31.5%, 53.2%, 0%, 2.7%)
CIE-LABlab(59.72, 47.57, -58.57)
CIE-LCHlch(59.72, 75.45, 309.08°)
OKLaboklab(67.26% 0.0963 -0.1654)
OKLCHoklch(67.26% 0.191 300.2)
XYZxyz(39.7622, 27.8139, 92.0625)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74F8 #C2F874
analogous
#7480F8 #AA74F8 #EC74F8
triadic
#AA74F8 #F8AA74 #74F8AA
tetradic
#AA74F8 #F87480 #C2F874 #74F8EC
square
#AA74F8 #F87480 #C2F874 #74F8EC
split-complementary
#AA74F8 #F8EC74 #80F874
monochromatic
#650CE6 #863AF5 #AA74F8 #CEAEFB #EDE2FE

Accessibility & contrast

On white

3.20
#AA74F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AA74F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74F8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74F8#FFFFFF#000000##000000
##AA74F81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#9A8EAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa74f8;
/* rgb */ color: rgb(170, 116, 248);
/* oklch */ color: oklch(67.3% 0.191 300.2);
Tailwind
colors: {
  custom: {
    50: '#c79dfb',
    500: '#aa74f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa74f8;
$custom-light: #c79dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74f8",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 264.545,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67264,
    "c": 0.19138,
    "h": 300.2
  },
  "luminance": 0.27814
}

Semantic roles & 50–950 ramp

primary
#AA74F8
secondary
#E7F5D3
accent
#E60088
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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