#AA2FB0#AA2FB0

#AA2FB0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.213 H 326.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AA2FB0
RGBrgb(170, 47, 176)
HSLhsl(297, 58%, 44%)
HSVhsv(297, 73%, 69%)
CMYKcmyk(3.4%, 73.3%, 0%, 31%)
CIE-LABlab(43.82, 64.33, -42.88)
CIE-LCHlch(43.82, 77.31, 326.32°)
OKLaboklab(54.37% 0.1766 -0.1192)
OKLCHoklch(54.37% 0.213 326)
XYZxyz(25.4300, 13.7154, 42.3738)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FB0 #35B02F
analogous
#692FB0 #AA2FB0 #B02F75
triadic
#AA2FB0 #B0AA2F #2FB0AA
tetradic
#AA2FB0 #B0692F #35B02F #2F75B0
square
#AA2FB0 #B0692F #35B02F #2F75B0
split-complementary
#AA2FB0 #75B02F #2FB069
monochromatic
#4D154F #7B2280 #AA2FB0 #C94DCF #D87DDC

Accessibility & contrast

On white

5.61
#AA2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AA2FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FB0
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FB0#FFFFFF#000000##FFFFFF
##AA2FB01.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075EB4
Deuteranopia (green-blind)
#4C6DAD
Tritanopia (blue-blind)
#AE456D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2fb0;
/* rgb */ color: rgb(170, 47, 176);
/* oklch */ color: oklch(54.4% 0.213 326.0);
Tailwind
colors: {
  custom: {
    50: '#c774c8',
    500: '#aa2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fb0;
$custom-light: #c774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fb0",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 297.209,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.21305,
    "h": 326
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#AA2FB0
secondary
#7AC576
accent
#E1474E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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