#AA4099#AA4099

#AA4099 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.173 H 334.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AA4099
RGBrgb(170, 64, 153)
HSLhsl(310, 45%, 46%)
HSVhsv(310, 62%, 67%)
CMYKcmyk(0%, 62.4%, 10%, 33.3%)
CIE-LABlab(44.96, 53.97, -27.39)
CIE-LCHlch(44.96, 60.52, 333.09°)
OKLaboklab(54.81% 0.1565 -0.0746)
OKLCHoklch(54.81% 0.173 334.5)
XYZxyz(24.1609, 14.5146, 31.6599)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4099 #40AA51
analogous
#8640AA #AA4099 #AA4064
triadic
#AA4099 #99AA40 #4099AA
tetradic
#AA4099 #AA8640 #40AA51 #4064AA
square
#AA4099 #AA8640 #40AA51 #4064AA
split-complementary
#AA4099 #64AA40 #40AA86
monochromatic
#511F49 #7E2F71 #AA4099 #C463B5 #D58FCA

Accessibility & contrast

On white

5.38
#AA4099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AA4099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4099
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4099#FFFFFF#000000##FFFFFF
##AA40991.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#617096
Tritanopia (blue-blind)
#B24766
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa4099;
/* rgb */ color: rgb(170, 64, 153);
/* oklch */ color: oklch(54.8% 0.173 334.5);
Tailwind
colors: {
  custom: {
    50: '#c67cb7',
    500: '#aa4099',
    950: '#000000',
  },
}
SCSS
$custom: #aa4099;
$custom-light: #c67cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4099",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 309.623,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.17335,
    "h": 334.5
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#AA4099
secondary
#86C08F
accent
#D56853
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AA4099

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

Preview Lab → · Contrast checker → · Palette generator →

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