#AA4FAC#AA4FAC

#AA4FAC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.167 H 326.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AA4FAC
RGBrgb(170, 79, 172)
HSLhsl(299, 37%, 49%)
HSVhsv(299, 54%, 67%)
CMYKcmyk(1.2%, 54.1%, 0%, 32.5%)
CIE-LABlab(48.41, 50.33, -33.27)
CIE-LCHlch(48.41, 60.33, 326.53°)
OKLaboklab(57.63% 0.1392 -0.0916)
OKLCHoklch(57.63% 0.167 326.6)
XYZxyz(26.8194, 17.1181, 40.9132)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FAC #51AC4F
analogous
#7C4FAC #AA4FAC #AC4F80
triadic
#AA4FAC #ACAA4F #4FACAA
tetradic
#AA4FAC #AC7C4F #51AC4F #4F80AC
square
#AA4FAC #AC7C4F #51AC4F #4F80AC
split-complementary
#AA4FAC #80AC4F #4FAC7C
monochromatic
#572858 #813C82 #AA4FAC #BF77C1 #D3A1D4

Accessibility & contrast

On white

4.75
#AA4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AA4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FAC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FAC#FFFFFF#000000##FFFFFF
##AA4FAC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#AE5A76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4fac;
/* rgb */ color: rgb(170, 79, 172);
/* oklch */ color: oklch(57.6% 0.167 326.6);
Tailwind
colors: {
  custom: {
    50: '#c685c5',
    500: '#aa4fac',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fac;
$custom-light: #c685c5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fac",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 298.71,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.16663,
    "h": 326.6
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#AA4FAC
secondary
#97C196
accent
#CD5B5D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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