#AA249E#AA249E

#AA249E is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.210 H 332.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA249E
RGBrgb(170, 36, 158)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 79%, 67%)
CMYKcmyk(0%, 78.8%, 7.1%, 33.3%)
CIE-LABlab(41.66, 64.77, -35.59)
CIE-LCHlch(41.66, 73.90, 331.22°)
OKLaboklab(52.5% 0.1862 -0.0979)
OKLCHoklch(52.5% 0.21 332.2)
XYZxyz(23.3801, 12.2784, 33.4797)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA249E #24AA30
analogous
#7324AA #AA249E #AA245B
triadic
#AA249E #9EAA24 #249EAA
tetradic
#AA249E #AA7324 #24AA30 #245BAA
square
#AA249E #AA7324 #24AA30 #245BAA
split-complementary
#AA249E #5BAA24 #24AA73
monochromatic
#450F40 #77196F #AA249E #D537C6 #DF69D5

Accessibility & contrast

On white

6.08
#AA249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA249E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA249E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA249E#FFFFFF#000000##FFFFFF
##AA249E1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#52699B
Tritanopia (blue-blind)
#B13560
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa249e;
/* rgb */ color: rgb(170, 36, 158);
/* oklch */ color: oklch(52.5% 0.210 332.2);
Tailwind
colors: {
  custom: {
    50: '#c76fbb',
    500: '#aa249e',
    950: '#000000',
  },
}
SCSS
$custom: #aa249e;
$custom-light: #c76fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa249e",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 305.373,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.21037,
    "h": 332.2
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#AA249E
secondary
#65C56D
accent
#E84F40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA249E

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

Preview Lab → · Contrast checker → · Palette generator →

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