#AA3AAA#AA3AAA

#AA3AAA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.0% C 0.195 H 327.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA3AAA
RGBrgb(170, 58, 170)
HSLhsl(300, 49%, 45%)
HSVhsv(300, 66%, 67%)
CMYKcmyk(0%, 65.9%, 0%, 33.3%)
CIE-LABlab(44.91, 59.29, -37.60)
CIE-LCHlch(44.91, 70.21, 327.62°)
OKLaboklab(55.05% 0.1653 -0.1039)
OKLCHoklch(55.05% 0.195 327.8)
XYZxyz(25.3460, 14.4762, 39.4816)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3AAA #3AAA3A
analogous
#723AAA #AA3AAA #AA3A72
triadic
#AA3AAA #AAAA3A #3AAAAA
tetradic
#AA3AAA #AA723A #3AAA3A #3A72AA
square
#AA3AAA #AA723A #3AAA3A #3A72AA
split-complementary
#AA3AAA #72AA3A #3AAA72
monochromatic
#4F1B4F #7C2A7C #AA3AAA #C75AC7 #D688D6

Accessibility & contrast

On white

5.39
#AA3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AA3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3AAA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3AAA#FFFFFF#000000##FFFFFF
##AA3AAA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#566FA7
Tritanopia (blue-blind)
#AF496D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa3aaa;
/* rgb */ color: rgb(170, 58, 170);
/* oklch */ color: oklch(55.0% 0.195 327.8);
Tailwind
colors: {
  custom: {
    50: '#c779c4',
    500: '#aa3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #aa3aaa;
$custom-light: #c779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3aaa",
  "rgb": {
    "r": 170,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.19524,
    "h": 327.8
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#AA3AAA
secondary
#7FC17F
accent
#D94F4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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