#AA3F99#AA3F99

#AA3F99 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.7% C 0.175 H 334.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AA3F99
RGBrgb(170, 63, 153)
HSLhsl(310, 46%, 46%)
HSVhsv(310, 63%, 67%)
CMYKcmyk(0%, 62.9%, 10%, 33.3%)
CIE-LABlab(44.81, 54.40, -27.64)
CIE-LCHlch(44.81, 61.02, 333.07°)
OKLaboklab(54.7% 0.1577 -0.0753)
OKLCHoklch(54.7% 0.175 334.5)
XYZxyz(24.1050, 14.4029, 31.6413)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3F99 #3FAA50
analogous
#853FAA #AA3F99 #AA3F63
triadic
#AA3F99 #99AA3F #3F99AA
tetradic
#AA3F99 #AA853F #3FAA50 #3F63AA
square
#AA3F99 #AA853F #3FAA50 #3F63AA
split-complementary
#AA3F99 #63AA3F #3FAA85
monochromatic
#511E49 #7D2E71 #AA3F99 #C562B5 #D58ECA

Accessibility & contrast

On white

5.41
#AA3F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AA3F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3F99
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3F99#FFFFFF#000000##FFFFFF
##AA3F991.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#607096
Tritanopia (blue-blind)
#B24666
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa3f99;
/* rgb */ color: rgb(170, 63, 153);
/* oklch */ color: oklch(54.7% 0.175 334.5);
Tailwind
colors: {
  custom: {
    50: '#c67bb7',
    500: '#aa3f99',
    950: '#000000',
  },
}
SCSS
$custom: #aa3f99;
$custom-light: #c67bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3f99",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 309.533,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.17479,
    "h": 334.5
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#AA3F99
secondary
#85C08E
accent
#D66752
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AA3F99

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

Preview Lab → · Contrast checker → · Palette generator →

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