#AA2FBA#AA2FBA

#AA2FBA is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.221 H 322.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA2FBA
RGBrgb(170, 47, 186)
HSLhsl(293, 60%, 46%)
HSVhsv(293, 75%, 73%)
CMYKcmyk(8.6%, 74.7%, 0%, 27.1%)
CIE-LABlab(44.41, 66.06, -47.82)
CIE-LCHlch(44.41, 81.55, 324.10°)
OKLaboklab(54.98% 0.1761 -0.1336)
OKLCHoklch(54.98% 0.221 322.8)
XYZxyz(26.4561, 14.1258, 47.7779)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FBA #3FBA2F
analogous
#652FBA #AA2FBA #BA2F84
triadic
#AA2FBA #BAAA2F #2FBAAA
tetradic
#AA2FBA #BA652F #3FBA2F #2F84BA
square
#AA2FBA #BA652F #3FBA2F #2F84BA
split-complementary
#AA2FBA #84BA2F #2FBA65
monochromatic
#511658 #7D2389 #AA2FBA #C553D3 #D584E0

Accessibility & contrast

On white

5.49
#AA2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AA2FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FBA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FBA#FFFFFF#000000##FFFFFF
##AA2FBA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#456EB7
Tritanopia (blue-blind)
#AC4973
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa2fba;
/* rgb */ color: rgb(170, 47, 186);
/* oklch */ color: oklch(55.0% 0.221 322.8);
Tailwind
colors: {
  custom: {
    50: '#c775cf',
    500: '#aa2fba',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fba;
$custom-light: #c775cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fba",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 293.094,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.22106,
    "h": 322.8
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#AA2FBA
secondary
#85C97C
accent
#E34557
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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