#AA4EAF#AA4EAF

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

Color values

HEX#AA4EAF
RGBrgb(170, 78, 175)
HSLhsl(297, 38%, 50%)
HSVhsv(297, 55%, 69%)
CMYKcmyk(2.9%, 55.4%, 0%, 31.4%)
CIE-LABlab(48.38, 51.36, -35.08)
CIE-LCHlch(48.38, 62.20, 325.66°)
OKLaboklab(57.65% 0.1409 -0.0968)
OKLCHoklch(57.65% 0.171 325.5)
XYZxyz(27.0392, 17.0915, 42.4239)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EAF #53AF4E
analogous
#7A4EAF #AA4EAF #AF4E84
triadic
#AA4EAF #AFAA4E #4EAFAA
tetradic
#AA4EAF #AF7A4E #53AF4E #4E84AF
square
#AA4EAF #AF7A4E #53AF4E #4E84AF
split-complementary
#AA4EAF #84AF4E #4EAF7A
monochromatic
#58285A #813B85 #AA4EAF #BF78C3 #D3A2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA4EAF#FFFFFF#000000##FFFFFF
##AA4EAF1.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)
#416BB2
Deuteranopia (green-blind)
#5F77AC
Tritanopia (blue-blind)
#AE5A77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4eaf;
/* rgb */ color: rgb(170, 78, 175);
/* oklch */ color: oklch(57.7% 0.171 325.5);
Tailwind
colors: {
  custom: {
    50: '#c684c7',
    500: '#aa4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eaf;
$custom-light: #c684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eaf",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 296.907,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.17096,
    "h": 325.5
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#AA4EAF
secondary
#99C396
accent
#CE5A60
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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