#AA4FE7#AA4FE7

#AA4FE7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.1% C 0.224 H 308.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AA4FE7
RGBrgb(170, 79, 231)
HSLhsl(276, 76%, 61%)
HSVhsv(276, 66%, 91%)
CMYKcmyk(26.4%, 65.8%, 0%, 9.4%)
CIE-LABlab(51.73, 62.27, -61.90)
CIE-LCHlch(51.73, 87.80, 315.17°)
OKLaboklab(61.11% 0.1402 -0.1751)
OKLCHoklch(61.11% 0.224 308.7)
XYZxyz(33.7944, 19.9081, 77.6482)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FE7 #8CE74F
analogous
#5E4FE7 #AA4FE7 #E74FD8
triadic
#AA4FE7 #E7AA4F #4FE7AA
tetradic
#AA4FE7 #E75E4F #8CE74F #4FD8E7
square
#AA4FE7 #E75E4F #8CE74F #4FD8E7
split-complementary
#AA4FE7 #D8E74F #4FE75E
monochromatic
#6C17A5 #8F1EDB #AA4FE7 #C485EE #DEBBF6

Accessibility & contrast

On white

4.22
#AA4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AA4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FE7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FE7#FFFFFF#000000##000000
##AA4FE71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#337CE4
Tritanopia (blue-blind)
#A16F95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4fe7;
/* rgb */ color: rgb(170, 79, 231);
/* oklch */ color: oklch(61.1% 0.224 308.7);
Tailwind
colors: {
  custom: {
    50: '#c886ef',
    500: '#aa4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fe7;
$custom-light: #c886ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fe7",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 275.921,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.22429,
    "h": 308.7
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#AA4FE7
secondary
#C3E6AC
accent
#D80D5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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