#AA309A#AA309A

#AA309A is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 333.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AA309A
RGBrgb(170, 48, 154)
HSLhsl(308, 56%, 43%)
HSVhsv(308, 72%, 67%)
CMYKcmyk(0%, 71.8%, 9.4%, 33.3%)
CIE-LABlab(42.76, 60.42, -31.44)
CIE-LCHlch(42.76, 68.11, 332.51°)
OKLaboklab(53.22% 0.175 -0.0861)
OKLCHoklch(53.22% 0.195 333.8)
XYZxyz(23.4674, 12.9950, 31.8379)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA309A #30AA40
analogous
#7D30AA #AA309A #AA305D
triadic
#AA309A #9AAA30 #309AAA
tetradic
#AA309A #AA7D30 #30AA40 #305DAA
square
#AA309A #AA7D30 #30AA40 #305DAA
split-complementary
#AA309A #5DAA30 #30AA7D
monochromatic
#4B1544 #7A236F #AA309A #CC4BBB #DA7BCD

Accessibility & contrast

On white

5.84
#AA309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AA309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA309A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA309A#FFFFFF#000000##FFFFFF
##AA309A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9D
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#B23B61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa309a;
/* rgb */ color: rgb(170, 48, 154);
/* oklch */ color: oklch(53.2% 0.195 333.8);
Tailwind
colors: {
  custom: {
    50: '#c774b8',
    500: '#aa309a',
    950: '#000000',
  },
}
SCSS
$custom: #aa309a;
$custom-light: #c774b8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa309a",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 307.869,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.19506,
    "h": 333.8
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#AA309A
secondary
#74C27E
accent
#DF5C49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA309A

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

Preview Lab → · Contrast checker → · Palette generator →

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