#AA4FE2#AA4FE2

#AA4FE2 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.8% C 0.219 H 309.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA4FE2
RGBrgb(170, 79, 226)
HSLhsl(277, 72%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(24.8%, 65%, 0%, 11.4%)
CIE-LABlab(51.42, 61.18, -59.59)
CIE-LCHlch(51.42, 85.41, 315.75°)
OKLaboklab(60.78% 0.1406 -0.1683)
OKLCHoklch(60.78% 0.219 309.9)
XYZxyz(33.0983, 19.6297, 73.9821)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FE2 #87E24F
analogous
#614FE2 #AA4FE2 #E24FD0
triadic
#AA4FE2 #E2AA4F #4FE2AA
tetradic
#AA4FE2 #E2614F #87E24F #4FD0E2
square
#AA4FE2 #E2614F #87E24F #4FD0E2
split-complementary
#AA4FE2 #D0E24F #4FE261
monochromatic
#6B1A9D #8F22D1 #AA4FE2 #C384EB #DDB8F3

Accessibility & contrast

On white

4.26
#AA4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AA4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4FE2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FE2#FFFFFF#000000##000000
##AA4FE21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#A26D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa4fe2;
/* rgb */ color: rgb(170, 79, 226);
/* oklch */ color: oklch(60.8% 0.219 309.9);
Tailwind
colors: {
  custom: {
    50: '#c786ec',
    500: '#aa4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fe2;
$custom-light: #c786ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fe2",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 277.143,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60784,
    "c": 0.21928,
    "h": 309.9
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#AA4FE2
secondary
#C0E3AA
accent
#EE397E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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