#AA2BAF#AA2BAF

#AA2BAF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.216 H 326.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AA2BAF
RGBrgb(170, 43, 175)
HSLhsl(298, 61%, 43%)
HSVhsv(298, 75%, 69%)
CMYKcmyk(2.9%, 75.4%, 0%, 31.4%)
CIE-LABlab(43.32, 65.45, -43.09)
CIE-LCHlch(43.32, 78.36, 326.64°)
OKLaboklab(53.99% 0.1802 -0.1198)
OKLCHoklch(53.99% 0.216 326.4)
XYZxyz(25.1788, 13.3707, 41.8038)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BAF #30AF2B
analogous
#682BAF #AA2BAF #AF2B72
triadic
#AA2BAF #AFAA2B #2BAFAA
tetradic
#AA2BAF #AF682B #30AF2B #2B72AF
square
#AA2BAF #AF682B #30AF2B #2B72AF
split-complementary
#AA2BAF #72AF2B #2BAF68
monochromatic
#4B134D #7A1F7E #AA2BAF #CC46D1 #DA77DE

Accessibility & contrast

On white

5.72
#AA2BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AA2BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BAF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BAF#FFFFFF#000000##FFFFFF
##AA2BAF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#AF426C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2baf;
/* rgb */ color: rgb(170, 43, 175);
/* oklch */ color: oklch(54.0% 0.216 326.4);
Tailwind
colors: {
  custom: {
    50: '#c773c7',
    500: '#aa2baf',
    950: '#000000',
  },
}
SCSS
$custom: #aa2baf;
$custom-light: #c773c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2baf",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 297.727,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.21638,
    "h": 326.4
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#AA2BAF
secondary
#74C570
accent
#E4444A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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