#AA3AA8#AA3AA8

#AA3AA8 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.194 H 328.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AA3AA8
RGBrgb(170, 58, 168)
HSLhsl(301, 49%, 45%)
HSVhsv(301, 66%, 67%)
CMYKcmyk(0%, 65.9%, 1.2%, 33.3%)
CIE-LABlab(44.80, 58.95, -36.59)
CIE-LCHlch(44.80, 69.38, 328.18°)
OKLaboklab(54.94% 0.1652 -0.101)
OKLCHoklch(54.94% 0.194 328.6)
XYZxyz(25.1582, 14.4011, 38.4928)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3AA8 #3AAA3C
analogous
#743AAA #AA3AA8 #AA3A70
triadic
#AA3AA8 #A8AA3A #3AA8AA
tetradic
#AA3AA8 #AA743A #3AAA3C #3A70AA
square
#AA3AA8 #AA743A #3AAA3C #3A70AA
split-complementary
#AA3AA8 #70AA3A #3AAA74
monochromatic
#4F1B4E #7C2A7B #AA3AA8 #C75AC5 #D688D5

Accessibility & contrast

On white

5.41
#AA3AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AA3AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3AA8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3AA8#FFFFFF#000000##FFFFFF
##AA3AA81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#576FA5
Tritanopia (blue-blind)
#B0486C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa3aa8;
/* rgb */ color: rgb(170, 58, 168);
/* oklch */ color: oklch(54.9% 0.194 328.6);
Tailwind
colors: {
  custom: {
    50: '#c679c2',
    500: '#aa3aa8',
    950: '#000000',
  },
}
SCSS
$custom: #aa3aa8;
$custom-light: #c679c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3aa8",
  "rgb": {
    "r": 170,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 301.071,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.1936,
    "h": 328.6
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#AA3AA8
secondary
#7FC180
accent
#D9524F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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