#AA279B#AA279B

#AA279B is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 333.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA279B
RGBrgb(170, 39, 155)
HSLhsl(307, 63%, 41%)
HSVhsv(307, 77%, 67%)
CMYKcmyk(0%, 77.1%, 8.8%, 33.3%)
CIE-LABlab(41.79, 63.46, -33.56)
CIE-LCHlch(41.79, 71.79, 332.13°)
OKLaboklab(52.55% 0.1836 -0.0921)
OKLCHoklch(52.55% 0.205 333.4)
XYZxyz(23.2196, 12.3657, 32.1679)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA279B #27AA36
analogous
#7727AA #AA279B #AA2759
triadic
#AA279B #9BAA27 #279BAA
tetradic
#AA279B #AA7727 #27AA36 #2759AA
square
#AA279B #AA7727 #27AA36 #2759AA
split-complementary
#AA279B #59AA27 #27AA77
monochromatic
#461040 #781C6E #AA279B #D23CC1 #DE6ED1

Accessibility & contrast

On white

6.05
#AA279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AA279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA279B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA279B#FFFFFF#000000##FFFFFF
##AA279B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#B2355F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa279b;
/* rgb */ color: rgb(170, 39, 155);
/* oklch */ color: oklch(52.5% 0.205 333.4);
Tailwind
colors: {
  custom: {
    50: '#c770b9',
    500: '#aa279b',
    950: '#000000',
  },
}
SCSS
$custom: #aa279b;
$custom-light: #c770b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa279b",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 306.87,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.20541,
    "h": 333.4
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#AA279B
secondary
#69C473
accent
#E65542
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA279B

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

Preview Lab → · Contrast checker → · Palette generator →

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