#AA74FB#AA74FB

#AA74FB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.195 H 299.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AA74FB
RGBrgb(170, 116, 251)
HSLhsl(264, 94%, 72%)
HSVhsv(264, 54%, 98%)
CMYKcmyk(32.3%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.89, 48.30, -59.95)
CIE-LCHlch(59.89, 76.99, 308.86°)
OKLaboklab(67.44% 0.0964 -0.1695)
OKLCHoklch(67.44% 0.195 299.6)
XYZxyz(40.2314, 28.0015, 94.5334)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA74FB #C5FB74
analogous
#7482FB #AA74FB #EE74FB
triadic
#AA74FB #FBAA74 #74FBAA
tetradic
#AA74FB #FB7482 #C5FB74 #74FBEE
square
#AA74FB #FB7482 #C5FB74 #74FBEE
split-complementary
#AA74FB #FBEE74 #82FB74
monochromatic
#6307EE #8639F9 #AA74FB #CEAFFD #EDE1FE

Accessibility & contrast

On white

3.18
#AA74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#AA74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA74FB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA74FB#FFFFFF#000000##000000
##AA74FB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#998FAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa74fb;
/* rgb */ color: rgb(170, 116, 251);
/* oklch */ color: oklch(67.4% 0.195 299.6);
Tailwind
colors: {
  custom: {
    50: '#c79dfd',
    500: '#aa74fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa74fb;
$custom-light: #c79dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa74fb",
  "rgb": {
    "r": 170,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 264,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.19496,
    "h": 299.6
  },
  "luminance": 0.28002
}

Semantic roles & 50–950 ramp

primary
#AA74FB
secondary
#E9F6D4
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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