#AA4FE5#AA4FE5

#AA4FE5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.222 H 309.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA4FE5
RGBrgb(170, 79, 229)
HSLhsl(276, 74%, 60%)
HSVhsv(276, 66%, 90%)
CMYKcmyk(25.8%, 65.5%, 0%, 10.2%)
CIE-LABlab(51.61, 61.83, -60.98)
CIE-LCHlch(51.61, 86.84, 315.40°)
OKLaboklab(60.98% 0.1403 -0.1724)
OKLCHoklch(60.98% 0.222 309.1)
XYZxyz(33.5136, 19.7958, 76.1690)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FE5 #8AE54F
analogous
#5F4FE5 #AA4FE5 #E54FD5
triadic
#AA4FE5 #E5AA4F #4FE5AA
tetradic
#AA4FE5 #E55F4F #8AE54F #4FD5E5
square
#AA4FE5 #E55F4F #8AE54F #4FD5E5
split-complementary
#AA4FE5 #D5E54F #4FE55F
monochromatic
#6C18A2 #8F20D7 #AA4FE5 #C484ED #DEBAF5

Accessibility & contrast

On white

4.23
#AA4FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AA4FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FE5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FE5#FFFFFF#000000##000000
##AA4FE51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#367CE2
Tritanopia (blue-blind)
#A16E94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4fe5;
/* rgb */ color: rgb(170, 79, 229);
/* oklch */ color: oklch(61.0% 0.222 309.1);
Tailwind
colors: {
  custom: {
    50: '#c886ee',
    500: '#aa4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fe5;
$custom-light: #c886ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fe5",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 276.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.22228,
    "h": 309.1
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#AA4FE5
secondary
#C2E5AB
accent
#D60F5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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