#AA2FB8#AA2FB8

#AA2FB8 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.219 H 323.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AA2FB8
RGBrgb(170, 47, 184)
HSLhsl(294, 59%, 45%)
HSVhsv(294, 74%, 72%)
CMYKcmyk(7.6%, 74.5%, 0%, 27.8%)
CIE-LABlab(44.29, 65.71, -46.84)
CIE-LCHlch(44.29, 80.70, 324.52°)
OKLaboklab(54.86% 0.1762 -0.1307)
OKLCHoklch(54.86% 0.219 323.4)
XYZxyz(26.2450, 14.0414, 46.6660)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FB8 #3DB82F
analogous
#662FB8 #AA2FB8 #B82F81
triadic
#AA2FB8 #B8AA2F #2FB8AA
tetradic
#AA2FB8 #B8662F #3DB82F #2F81B8
square
#AA2FB8 #B8662F #3DB82F #2F81B8
split-complementary
#AA2FB8 #81B82F #2FB866
monochromatic
#501657 #7D2387 #AA2FB8 #C552D3 #D682DF

Accessibility & contrast

On white

5.51
#AA2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AA2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FB8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FB8#FFFFFF#000000##FFFFFF
##AA2FB81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#476EB5
Tritanopia (blue-blind)
#AD4872
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa2fb8;
/* rgb */ color: rgb(170, 47, 184);
/* oklch */ color: oklch(54.9% 0.219 323.4);
Tailwind
colors: {
  custom: {
    50: '#c775ce',
    500: '#aa2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fb8;
$custom-light: #c775ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fb8",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 293.869,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.21944,
    "h": 323.4
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#AA2FB8
secondary
#82C87B
accent
#E24555
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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