#AA74E9#AA74E9

#AA74E9 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.173 H 303.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA74E9
RGBrgb(170, 116, 233)
HSLhsl(268, 73%, 68%)
HSVhsv(268, 50%, 91%)
CMYKcmyk(27%, 50.2%, 0%, 8.6%)
CIE-LABlab(58.90, 43.96, -51.55)
CIE-LCHlch(58.90, 67.75, 310.46°)
OKLaboklab(66.39% 0.0953 -0.1449)
OKLCHoklch(66.39% 0.173 303.3)
XYZxyz(37.5277, 26.9201, 80.2940)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74E9 #B3E974
analogous
#7478E9 #AA74E9 #E474E9
triadic
#AA74E9 #E9AA74 #74E9AA
tetradic
#AA74E9 #E97478 #B3E974 #74E9E4
square
#AA74E9 #E97478 #B3E974 #74E9E4
split-complementary
#AA74E9 #E9E474 #78E974
monochromatic
#6B1FC4 #8A3FE1 #AA74E9 #CAA9F1 #EBDEFA

Accessibility & contrast

On white

3.29
#AA74E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AA74E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74E9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74E9#FFFFFF#000000##000000
##AA74E91.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CED
Deuteranopia (green-blind)
#5E8EE6
Tritanopia (blue-blind)
#9F89A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa74e9;
/* rgb */ color: rgb(170, 116, 233);
/* oklch */ color: oklch(66.4% 0.173 303.3);
Tailwind
colors: {
  custom: {
    50: '#c69df0',
    500: '#aa74e9',
    950: '#000000',
  },
}
SCSS
$custom: #aa74e9;
$custom-light: #c69df0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74e9",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 267.692,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66391,
    "c": 0.17339,
    "h": 303.3
  },
  "luminance": 0.2692
}

Semantic roles & 50–950 ramp

primary
#AA74E9
secondary
#DEEECB
accent
#D5117A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA74E9

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

Preview Lab → · Contrast checker → · Palette generator →

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