#AA74FE#AA74FE

#AA74FE is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.199 H 299.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AA74FE
RGBrgb(170, 116, 254)
HSLhsl(263, 99%, 73%)
HSVhsv(263, 54%, 100%)
CMYKcmyk(33.1%, 54.3%, 0%, 0.4%)
CIE-LABlab(60.06, 49.04, -61.33)
CIE-LCHlch(60.06, 78.52, 308.65°)
OKLaboklab(67.63% 0.0965 -0.1735)
OKLCHoklch(67.63% 0.199 299.1)
XYZxyz(40.7080, 28.1922, 97.0437)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74FE #C8FE74
analogous
#7483FE #AA74FE #EF74FE
triadic
#AA74FE #FEAA74 #74FEAA
tetradic
#AA74FE #FE7483 #C8FE74 #74FEEF
square
#AA74FE #FE7483 #C8FE74 #74FEEF
split-complementary
#AA74FE #FEEF74 #83FE74
monochromatic
#6102F6 #8537FE #AA74FE #CFB1FE #ECE1FF

Accessibility & contrast

On white

3.16
#AA74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AA74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74FE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74FE#FFFFFF#000000##000000
##AA74FE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#4C90FB
Tritanopia (blue-blind)
#9890AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa74fe;
/* rgb */ color: rgb(170, 116, 254);
/* oklch */ color: oklch(67.6% 0.199 299.1);
Tailwind
colors: {
  custom: {
    50: '#c79eff',
    500: '#aa74fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa74fe;
$custom-light: #c79eff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74fe",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 263.478,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.19854,
    "h": 299.1
  },
  "luminance": 0.28193
}

Semantic roles & 50–950 ramp

primary
#AA74FE
secondary
#E9F7D4
accent
#E6008C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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