#AA309E#AA309E

#AA309E is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.198 H 332.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA309E
RGBrgb(170, 48, 158)
HSLhsl(306, 56%, 43%)
HSVhsv(306, 72%, 67%)
CMYKcmyk(0%, 71.8%, 7.1%, 33.3%)
CIE-LABlab(42.96, 61.04, -33.53)
CIE-LCHlch(42.96, 69.64, 331.22°)
OKLaboklab(53.44% 0.1753 -0.0921)
OKLCHoklch(53.44% 0.198 332.3)
XYZxyz(23.8061, 13.1305, 33.6217)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA309E #30AA3C
analogous
#7930AA #AA309E #AA3061
triadic
#AA309E #9EAA30 #309EAA
tetradic
#AA309E #AA7930 #30AA3C #3061AA
square
#AA309E #AA7930 #30AA3C #3061AA
split-complementary
#AA309E #61AA30 #30AA79
monochromatic
#4B1545 #7A2372 #AA309E #CC4BBF #DA7BD0

Accessibility & contrast

On white

5.79
#AA309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AA309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA309E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA309E#FFFFFF#000000##FFFFFF
##AA309E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#B13D64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa309e;
/* rgb */ color: rgb(170, 48, 158);
/* oklch */ color: oklch(53.4% 0.198 332.3);
Tailwind
colors: {
  custom: {
    50: '#c774bb',
    500: '#aa309e',
    950: '#000000',
  },
}
SCSS
$custom: #aa309e;
$custom-light: #c774bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa309e",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 305.902,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.19803,
    "h": 332.3
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#AA309E
secondary
#74C27B
accent
#DF5749
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA309E

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

Preview Lab → · Contrast checker → · Palette generator →

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