#AA4FE8#AA4FE8

#AA4FE8 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.225 H 308.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AA4FE8
RGBrgb(170, 79, 232)
HSLhsl(276, 77%, 61%)
HSVhsv(276, 66%, 91%)
CMYKcmyk(26.7%, 65.9%, 0%, 9%)
CIE-LABlab(51.80, 62.48, -62.36)
CIE-LCHlch(51.80, 88.28, 315.06°)
OKLaboklab(61.18% 0.1401 -0.1764)
OKLCHoklch(61.18% 0.225 308.4)
XYZxyz(33.9361, 19.9647, 78.3941)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FE8 #8DE84F
analogous
#5D4FE8 #AA4FE8 #E84FD9
triadic
#AA4FE8 #E8AA4F #4FE8AA
tetradic
#AA4FE8 #E85D4F #8DE84F #4FD9E8
square
#AA4FE8 #E85D4F #8DE84F #4FD9E8
split-complementary
#AA4FE8 #D9E84F #4FE85D
monochromatic
#6C16A7 #8F1DDD #AA4FE8 #C485EF #DEBBF6

Accessibility & contrast

On white

4.21
#AA4FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AA4FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FE8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FE8#FFFFFF#000000##000000
##AA4FE81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#317DE5
Tritanopia (blue-blind)
#A16F95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4fe8;
/* rgb */ color: rgb(170, 79, 232);
/* oklch */ color: oklch(61.2% 0.225 308.4);
Tailwind
colors: {
  custom: {
    50: '#c886f0',
    500: '#aa4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fe8;
$custom-light: #c886f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fe8",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 275.686,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.22529,
    "h": 308.4
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#AA4FE8
secondary
#C4E6AD
accent
#D90C5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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