#AA2FBB#AA2FBB

#AA2FBB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.222 H 322.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AA2FBB
RGBrgb(170, 47, 187)
HSLhsl(293, 60%, 46%)
HSVhsv(293, 75%, 73%)
CMYKcmyk(9.1%, 74.9%, 0%, 26.7%)
CIE-LABlab(44.47, 66.24, -48.31)
CIE-LCHlch(44.47, 81.98, 323.90°)
OKLaboklab(55.05% 0.176 -0.135)
OKLCHoklch(55.05% 0.222 322.5)
XYZxyz(26.5628, 14.1685, 48.3397)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FBB #40BB2F
analogous
#642FBB #AA2FBB #BB2F86
triadic
#AA2FBB #BBAA2F #2FBBAA
tetradic
#AA2FBB #BB642F #40BB2F #2F86BB
square
#AA2FBB #BB642F #40BB2F #2F86BB
split-complementary
#AA2FBB #86BB2F #2FBB64
monochromatic
#511659 #7E238A #AA2FBB #C453D4 #D584E0

Accessibility & contrast

On white

5.48
#AA2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AA2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FBB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FBB#FFFFFF#000000##FFFFFF
##AA2FBB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#AC4A73
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa2fbb;
/* rgb */ color: rgb(170, 47, 187);
/* oklch */ color: oklch(55.0% 0.222 322.5);
Tailwind
colors: {
  custom: {
    50: '#c775d0',
    500: '#aa2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fbb;
$custom-light: #c775d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fbb",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 292.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.22187,
    "h": 322.5
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#AA2FBB
secondary
#86C97C
accent
#E34558
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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