#AA309B#AA309B

#AA309B is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.3% C 0.196 H 333.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA309B
RGBrgb(170, 48, 155)
HSLhsl(307, 56%, 43%)
HSVhsv(307, 72%, 67%)
CMYKcmyk(0%, 71.8%, 8.8%, 33.3%)
CIE-LABlab(42.81, 60.57, -31.97)
CIE-LCHlch(42.81, 68.49, 332.18°)
OKLaboklab(53.28% 0.1751 -0.0876)
OKLCHoklch(53.28% 0.196 333.4)
XYZxyz(23.5511, 13.0285, 32.2784)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA309B #30AA3F
analogous
#7C30AA #AA309B #AA305E
triadic
#AA309B #9BAA30 #309BAA
tetradic
#AA309B #AA7C30 #30AA3F #305EAA
square
#AA309B #AA7C30 #30AA3F #305EAA
split-complementary
#AA309B #5EAA30 #30AA7C
monochromatic
#4B1544 #7A236F #AA309B #CC4BBC #DA7BCE

Accessibility & contrast

On white

5.82
#AA309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA309B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA309B#FFFFFF#000000##FFFFFF
##AA309B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9E
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#B23B62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa309b;
/* rgb */ color: rgb(170, 48, 155);
/* oklch */ color: oklch(53.3% 0.196 333.4);
Tailwind
colors: {
  custom: {
    50: '#c774b9',
    500: '#aa309b',
    950: '#000000',
  },
}
SCSS
$custom: #aa309b;
$custom-light: #c774b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa309b",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 307.377,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.1958,
    "h": 333.4
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#AA309B
secondary
#74C27D
accent
#DF5B49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA309B

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

Preview Lab → · Contrast checker → · Palette generator →

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