#AA4EE2#AA4EE2

#AA4EE2 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.7% C 0.221 H 310.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA4EE2
RGBrgb(170, 78, 226)
HSLhsl(277, 72%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(24.8%, 65.5%, 0%, 11.4%)
CIE-LABlab(51.25, 61.64, -59.86)
CIE-LCHlch(51.25, 85.92, 315.84°)
OKLaboklab(60.67% 0.1417 -0.1691)
OKLCHoklch(60.67% 0.221 310)
XYZxyz(33.0268, 19.4865, 73.9582)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EE2 #86E24E
analogous
#604EE2 #AA4EE2 #E24ED0
triadic
#AA4EE2 #E2AA4E #4EE2AA
tetradic
#AA4EE2 #E2604E #86E24E #4ED0E2
square
#AA4EE2 #E2604E #86E24E #4ED0E2
split-complementary
#AA4EE2 #D0E24E #4EE260
monochromatic
#6B1A9C #8F22D1 #AA4EE2 #C383EB #DDB7F3

Accessibility & contrast

On white

4.29
#AA4EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AA4EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EE2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EE2#FFFFFF#000000##000000
##AA4EE21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa4ee2;
/* rgb */ color: rgb(170, 78, 226);
/* oklch */ color: oklch(60.7% 0.221 310.0);
Tailwind
colors: {
  custom: {
    50: '#c786ec',
    500: '#aa4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ee2;
$custom-light: #c786ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ee2",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 277.297,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.22058,
    "h": 310
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#AA4EE2
secondary
#BFE3A9
accent
#EF397E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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