#AA4FAF#AA4FAF

#AA4FAF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.169 H 325.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA4FAF
RGBrgb(170, 79, 175)
HSLhsl(297, 38%, 50%)
HSVhsv(297, 55%, 69%)
CMYKcmyk(2.9%, 54.9%, 0%, 31.4%)
CIE-LABlab(48.55, 50.88, -34.80)
CIE-LCHlch(48.55, 61.65, 325.63°)
OKLaboklab(57.78% 0.1396 -0.096)
OKLCHoklch(57.78% 0.169 325.5)
XYZxyz(27.1108, 17.2346, 42.4477)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FAF #54AF4F
analogous
#7A4FAF #AA4FAF #AF4F84
triadic
#AA4FAF #AFAA4F #4FAFAA
tetradic
#AA4FAF #AF7A4F #54AF4F #4F84AF
square
#AA4FAF #AF7A4F #54AF4F #4F84AF
split-complementary
#AA4FAF #84AF4F #4FAF7A
monochromatic
#58295B #813C85 #AA4FAF #BF79C2 #D3A3D5

Accessibility & contrast

On white

4.72
#AA4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AA4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FAF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FAF#FFFFFF#000000##FFFFFF
##AA4FAF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#AE5B78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4faf;
/* rgb */ color: rgb(170, 79, 175);
/* oklch */ color: oklch(57.8% 0.169 325.5);
Tailwind
colors: {
  custom: {
    50: '#c685c7',
    500: '#aa4faf',
    950: '#000000',
  },
}
SCSS
$custom: #aa4faf;
$custom-light: #c685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4faf",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 296.875,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.1694,
    "h": 325.5
  },
  "luminance": 0.17233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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