#AA279F#AA279F

#AA279F is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.208 H 331.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AA279F
RGBrgb(170, 39, 159)
HSLhsl(305, 63%, 41%)
HSVhsv(305, 77%, 67%)
CMYKcmyk(0%, 77.1%, 6.5%, 33.3%)
CIE-LABlab(42.00, 64.08, -35.64)
CIE-LCHlch(42.00, 73.32, 330.92°)
OKLaboklab(52.77% 0.1837 -0.0981)
OKLCHoklch(52.77% 0.208 331.9)
XYZxyz(23.5611, 12.5023, 33.9664)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA279F #27AA32
analogous
#7327AA #AA279F #AA275D
triadic
#AA279F #9FAA27 #279FAA
tetradic
#AA279F #AA7327 #27AA32 #275DAA
square
#AA279F #AA7327 #27AA32 #275DAA
split-complementary
#AA279F #5DAA27 #27AA73
monochromatic
#461042 #781C70 #AA279F #D23CC6 #DE6ED4

Accessibility & contrast

On white

6.00
#AA279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA279F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA279F#FFFFFF#000000##FFFFFF
##AA279F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#53699C
Tritanopia (blue-blind)
#B13762
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa279f;
/* rgb */ color: rgb(170, 39, 159);
/* oklch */ color: oklch(52.8% 0.208 331.9);
Tailwind
colors: {
  custom: {
    50: '#c770bc',
    500: '#aa279f',
    950: '#000000',
  },
}
SCSS
$custom: #aa279f;
$custom-light: #c770bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa279f",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 305.038,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.20829,
    "h": 331.9
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#AA279F
secondary
#69C470
accent
#E65042
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA279F

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

Preview Lab → · Contrast checker → · Palette generator →

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