#AA2E98#AA2E98

#AA2E98 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.196 H 334.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AA2E98
RGBrgb(170, 46, 152)
HSLhsl(309, 57%, 42%)
HSVhsv(309, 73%, 67%)
CMYKcmyk(0%, 72.9%, 10.6%, 33.3%)
CIE-LABlab(42.41, 60.80, -30.78)
CIE-LCHlch(42.41, 68.14, 333.15°)
OKLaboklab(52.94% 0.1769 -0.0842)
OKLCHoklch(52.94% 0.196 334.6)
XYZxyz(23.2223, 12.7691, 30.9413)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E98 #2EAA40
analogous
#7E2EAA #AA2E98 #AA2E5A
triadic
#AA2E98 #98AA2E #2E98AA
tetradic
#AA2E98 #AA7E2E #2EAA40 #2E5AAA
square
#AA2E98 #AA7E2E #2EAA40 #2E5AAA
split-complementary
#AA2E98 #5AAA2E #2EAA7E
monochromatic
#4A1442 #7A216D #AA2E98 #CD48BA #DA78CC

Accessibility & contrast

On white

5.91
#AA2E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA2E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E98
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E98#FFFFFF#000000##FFFFFF
##AA2E981.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#B23960
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2e98;
/* rgb */ color: rgb(170, 46, 152);
/* oklch */ color: oklch(52.9% 0.196 334.6);
Tailwind
colors: {
  custom: {
    50: '#c773b6',
    500: '#aa2e98',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e98;
$custom-light: #c773b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e98",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 308.71,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52944,
    "c": 0.19589,
    "h": 334.6
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#AA2E98
secondary
#71C37D
accent
#E15D47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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