#AA1FB3#AA1FB3

#AA1FB3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.230 H 325.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AA1FB3
RGBrgb(170, 31, 179)
HSLhsl(296, 70%, 41%)
HSVhsv(296, 83%, 70%)
CMYKcmyk(5%, 82.7%, 0%, 29.8%)
CIE-LABlab(42.43, 69.36, -46.87)
CIE-LCHlch(42.43, 83.71, 325.95°)
OKLaboklab(53.44% 0.189 -0.1307)
OKLCHoklch(53.44% 0.23 325.3)
XYZxyz(25.2037, 12.7824, 43.7789)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FB3 #28B31F
analogous
#601FB3 #AA1FB3 #B31F72
triadic
#AA1FB3 #B3AA1F #1FB3AA
tetradic
#AA1FB3 #B3601F #28B31F #1F72B3
square
#AA1FB3 #B3601F #28B31F #1F72B3
split-complementary
#AA1FB3 #72B31F #1FB360
monochromatic
#470D4B #78167F #AA1FB3 #D233DC #DD68E5

Accessibility & contrast

On white

5.91
#AA1FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA1FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FB3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FB3#FFFFFF#000000##FFFFFF
##AA1FB31.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#AE3E6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa1fb3;
/* rgb */ color: rgb(170, 31, 179);
/* oklch */ color: oklch(53.4% 0.230 325.3);
Tailwind
colors: {
  custom: {
    50: '#c86fca',
    500: '#aa1fb3',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fb3;
$custom-light: #c86fca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fb3",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 296.351,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.22978,
    "h": 325.3
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#AA1FB3
secondary
#6ACA64
accent
#ED3B45
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA1FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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