#AA1FB0#AA1FB0

#AA1FB0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.228 H 326.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA1FB0
RGBrgb(170, 31, 176)
HSLhsl(298, 70%, 41%)
HSVhsv(298, 82%, 69%)
CMYKcmyk(3.4%, 82.4%, 0%, 31%)
CIE-LABlab(42.25, 68.87, -45.39)
CIE-LCHlch(42.25, 82.48, 326.61°)
OKLaboklab(53.26% 0.1892 -0.1264)
OKLCHoklch(53.26% 0.228 326.3)
XYZxyz(24.9035, 12.6624, 42.1983)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1FB0 #25B01F
analogous
#611FB0 #AA1FB0 #B01F6D
triadic
#AA1FB0 #B0AA1F #1FB0AA
tetradic
#AA1FB0 #B0611F #25B01F #1F6DB0
square
#AA1FB0 #B0611F #25B01F #1F6DB0
split-complementary
#AA1FB0 #6DB01F #1FB061
monochromatic
#450D48 #78167C #AA1FB0 #D431DB #DF65E4

Accessibility & contrast

On white

5.95
#AA1FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA1FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1FB0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1FB0#FFFFFF#000000##FFFFFF
##AA1FB01.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#4669AD
Tritanopia (blue-blind)
#AF3C6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa1fb0;
/* rgb */ color: rgb(170, 31, 176);
/* oklch */ color: oklch(53.3% 0.228 326.3);
Tailwind
colors: {
  custom: {
    50: '#c86ec8',
    500: '#aa1fb0',
    950: '#000000',
  },
}
SCSS
$custom: #aa1fb0;
$custom-light: #c86ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1fb0",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 297.517,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.22756,
    "h": 326.3
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#AA1FB0
secondary
#66C962
accent
#ED3B42
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA1FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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