#AA2FB7#AA2FB7

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

Color values

HEX#AA2FB7
RGBrgb(170, 47, 183)
HSLhsl(294, 59%, 45%)
HSVhsv(294, 74%, 72%)
CMYKcmyk(7.1%, 74.3%, 0%, 28.2%)
CIE-LABlab(44.23, 65.54, -46.35)
CIE-LCHlch(44.23, 80.27, 324.73°)
OKLaboklab(54.8% 0.1763 -0.1293)
OKLCHoklch(54.8% 0.219 323.7)
XYZxyz(26.1406, 13.9996, 46.1159)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FB7 #3CB72F
analogous
#662FB7 #AA2FB7 #B72F80
triadic
#AA2FB7 #B7AA2F #2FB7AA
tetradic
#AA2FB7 #B7662F #3CB72F #2F80B7
square
#AA2FB7 #B7662F #3CB72F #2F80B7
split-complementary
#AA2FB7 #80B72F #2FB766
monochromatic
#501656 #7D2286 #AA2FB7 #C651D2 #D682DF

Accessibility & contrast

On white

5.53
#AA2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AA2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FB7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FB7#FFFFFF#000000##FFFFFF
##AA2FB71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#486DB4
Tritanopia (blue-blind)
#AD4871
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa2fb7;
/* rgb */ color: rgb(170, 47, 183);
/* oklch */ color: oklch(54.8% 0.219 323.7);
Tailwind
colors: {
  custom: {
    50: '#c775cd',
    500: '#aa2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fb7;
$custom-light: #c775cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fb7",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 294.265,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.21864,
    "h": 323.7
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#AA2FB7
secondary
#81C87A
accent
#E24554
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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