#AA27AF#AA27AF

#AA27AF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.220 H 326.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AA27AF
RGBrgb(170, 39, 175)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 69%)
CMYKcmyk(2.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(42.90, 66.63, -43.75)
CIE-LCHlch(42.90, 79.71, 326.71°)
OKLaboklab(53.7% 0.1835 -0.1217)
OKLCHoklch(53.7% 0.22 326.5)
XYZxyz(25.0405, 13.0940, 41.7576)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA27AF #2CAF27
analogous
#6627AF #AA27AF #AF2770
triadic
#AA27AF #AFAA27 #27AFAA
tetradic
#AA27AF #AF6627 #2CAF27 #2770AF
square
#AA27AF #AF6627 #2CAF27 #2770AF
split-complementary
#AA27AF #70AF27 #27AF66
monochromatic
#49114B #791C7D #AA27AF #CF3FD4 #DB71DF

Accessibility & contrast

On white

5.80
#AA27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AA27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA27AF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA27AF#FFFFFF#000000##FFFFFF
##AA27AF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#AF406B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa27af;
/* rgb */ color: rgb(170, 39, 175);
/* oklch */ color: oklch(53.7% 0.220 326.5);
Tailwind
colors: {
  custom: {
    50: '#c771c7',
    500: '#aa27af',
    950: '#000000',
  },
}
SCSS
$custom: #aa27af;
$custom-light: #c771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa27af",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 297.794,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.537,
    "c": 0.22018,
    "h": 326.5
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#AA27AF
secondary
#6FC66B
accent
#E74147
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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