#AA2FC9#AA2FC9

#AA2FC9 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.233 H 318.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AA2FC9
RGBrgb(170, 47, 201)
HSLhsl(288, 62%, 49%)
HSVhsv(288, 77%, 79%)
CMYKcmyk(15.4%, 76.6%, 0%, 21.2%)
CIE-LABlab(45.36, 68.76, -55.05)
CIE-LCHlch(45.36, 88.08, 321.32°)
OKLaboklab(55.95% 0.1746 -0.1548)
OKLCHoklch(55.95% 0.233 318.4)
XYZxyz(28.1352, 14.7975, 56.6212)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FC9 #4EC92F
analogous
#5D2FC9 #AA2FC9 #C92F9B
triadic
#AA2FC9 #C9AA2F #2FC9AA
tetradic
#AA2FC9 #C95D2F #4EC92F #2F9BC9
square
#AA2FC9 #C95D2F #4EC92F #2F9BC9
split-complementary
#AA2FC9 #9BC92F #2FC95D
monochromatic
#561866 #802397 #AA2FC9 #C05CD9 #D38EE5

Accessibility & contrast

On white

5.30
#AA2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AA2FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FC9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FC9#FFFFFF#000000##FFFFFF
##AA2FC91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#386FC6
Tritanopia (blue-blind)
#A9507B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa2fc9;
/* rgb */ color: rgb(170, 47, 201);
/* oklch */ color: oklch(56.0% 0.233 318.4);
Tailwind
colors: {
  custom: {
    50: '#c875da',
    500: '#aa2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fc9;
$custom-light: #c875da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fc9",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 287.922,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.23334,
    "h": 318.4
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#AA2FC9
secondary
#94CF85
accent
#E54363
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AA2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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