#AA309F#AA309F

#AA309F is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.199 H 331.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AA309F
RGBrgb(170, 48, 159)
HSLhsl(305, 56%, 43%)
HSVhsv(305, 72%, 67%)
CMYKcmyk(0%, 71.8%, 6.5%, 33.3%)
CIE-LABlab(43.01, 61.20, -34.05)
CIE-LCHlch(43.01, 70.03, 330.91°)
OKLaboklab(53.49% 0.1754 -0.0936)
OKLCHoklch(53.49% 0.199 331.9)
XYZxyz(23.8926, 13.1651, 34.0769)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA309F #30AA3B
analogous
#7830AA #AA309F #AA3062
triadic
#AA309F #9FAA30 #309FAA
tetradic
#AA309F #AA7830 #30AA3B #3062AA
square
#AA309F #AA7830 #30AA3B #3062AA
split-complementary
#AA309F #62AA30 #30AA78
monochromatic
#4B1546 #7A2372 #AA309F #CC4BC1 #DA7BD1

Accessibility & contrast

On white

5.78
#AA309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA309F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA309F#FFFFFF#000000##FFFFFF
##AA309F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA2
Deuteranopia (green-blind)
#566C9C
Tritanopia (blue-blind)
#B13D64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa309f;
/* rgb */ color: rgb(170, 48, 159);
/* oklch */ color: oklch(53.5% 0.199 331.9);
Tailwind
colors: {
  custom: {
    50: '#c774bc',
    500: '#aa309f',
    950: '#000000',
  },
}
SCSS
$custom: #aa309f;
$custom-light: #c774bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa309f",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 305.41,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.19878,
    "h": 331.9
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA309F

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

Preview Lab → · Contrast checker → · Palette generator →

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