#AA2FB4#AA2FB4

#AA2FB4 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.216 H 324.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA2FB4
RGBrgb(170, 47, 180)
HSLhsl(295, 59%, 45%)
HSVhsv(295, 74%, 71%)
CMYKcmyk(5.6%, 73.9%, 0%, 29.4%)
CIE-LABlab(44.05, 65.02, -44.87)
CIE-LCHlch(44.05, 79.00, 325.39°)
OKLaboklab(54.61% 0.1765 -0.125)
OKLCHoklch(54.61% 0.216 324.7)
XYZxyz(25.8316, 13.8760, 44.4889)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FB4 #39B42F
analogous
#682FB4 #AA2FB4 #B42F7B
triadic
#AA2FB4 #B4AA2F #2FB4AA
tetradic
#AA2FB4 #B4682F #39B42F #2F7BB4
square
#AA2FB4 #B4682F #39B42F #2F7BB4
split-complementary
#AA2FB4 #7BB42F #2FB468
monochromatic
#4E1653 #7C2283 #AA2FB4 #C74FD1 #D780DE

Accessibility & contrast

On white

5.56
#AA2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AA2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FB4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FB4#FFFFFF#000000##FFFFFF
##AA2FB41.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#4A6DB1
Tritanopia (blue-blind)
#AE476F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2fb4;
/* rgb */ color: rgb(170, 47, 180);
/* oklch */ color: oklch(54.6% 0.216 324.7);
Tailwind
colors: {
  custom: {
    50: '#c774cb',
    500: '#aa2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fb4;
$custom-light: #c774cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fb4",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 295.489,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.21623,
    "h": 324.7
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#AA2FB4
secondary
#7EC778
accent
#E24652
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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