#AA2FBC#AA2FBC

#AA2FBC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.223 H 322.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AA2FBC
RGBrgb(170, 47, 188)
HSLhsl(292, 60%, 46%)
HSVhsv(292, 75%, 74%)
CMYKcmyk(9.6%, 75%, 0%, 26.3%)
CIE-LABlab(44.53, 66.41, -48.80)
CIE-LCHlch(44.53, 82.41, 323.69°)
OKLaboklab(55.11% 0.176 -0.1365)
OKLCHoklch(55.11% 0.223 322.2)
XYZxyz(26.6702, 14.2115, 48.9055)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FBC #41BC2F
analogous
#632FBC #AA2FBC #BC2F87
triadic
#AA2FBC #BCAA2F #2FBCAA
tetradic
#AA2FBC #BC632F #41BC2F #2F87BC
square
#AA2FBC #BC632F #41BC2F #2F87BC
split-complementary
#AA2FBC #87BC2F #2FBC63
monochromatic
#51175A #7E238B #AA2FBC #C454D4 #D585E0

Accessibility & contrast

On white

5.47
#AA2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AA2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FBC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FBC#FFFFFF#000000##FFFFFF
##AA2FBC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#AC4A74
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa2fbc;
/* rgb */ color: rgb(170, 47, 188);
/* oklch */ color: oklch(55.1% 0.223 322.2);
Tailwind
colors: {
  custom: {
    50: '#c775d1',
    500: '#aa2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fbc;
$custom-light: #c775d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fbc",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 292.34,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55109,
    "c": 0.22268,
    "h": 322.2
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#AA2FBC
secondary
#87CA7D
accent
#E34559
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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