#AA3198#AA3198

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

Color values

HEX#AA3198
RGBrgb(170, 49, 152)
HSLhsl(309, 55%, 43%)
HSVhsv(309, 71%, 67%)
CMYKcmyk(0%, 71.2%, 10.6%, 33.3%)
CIE-LABlab(42.78, 59.76, -30.20)
CIE-LCHlch(42.78, 66.95, 333.19°)
OKLaboklab(53.21% 0.1738 -0.0825)
OKLCHoklch(53.21% 0.192 334.6)
XYZxyz(23.3436, 13.0117, 30.9817)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3198 #31AA43
analogous
#8031AA #AA3198 #AA315B
triadic
#AA3198 #98AA31 #3198AA
tetradic
#AA3198 #AA8031 #31AA43 #315BAA
square
#AA3198 #AA8031 #31AA43 #315BAA
split-complementary
#AA3198 #5BAA31 #31AA80
monochromatic
#4B1643 #7A236E #AA3198 #CC4DB9 #D97CCB

Accessibility & contrast

On white

5.83
#AA3198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA3198
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3198#FFFFFF#000000##FFFFFF
##AA31981.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#B23B61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa3198;
/* rgb */ color: rgb(170, 49, 152);
/* oklch */ color: oklch(53.2% 0.192 334.6);
Tailwind
colors: {
  custom: {
    50: '#c774b6',
    500: '#aa3198',
    950: '#000000',
  },
}
SCSS
$custom: #aa3198;
$custom-light: #c774b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3198",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 308.926,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.19242,
    "h": 334.6
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#AA3198
secondary
#75C280
accent
#DF5F49
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA3198

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

Preview Lab → · Contrast checker → · Palette generator →

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