#AA4FB8#AA4FB8

#AA4FB8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.3% C 0.178 H 322.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AA4FB8
RGBrgb(170, 79, 184)
HSLhsl(292, 43%, 52%)
HSVhsv(292, 57%, 72%)
CMYKcmyk(7.6%, 57.1%, 0%, 27.8%)
CIE-LABlab(49.01, 52.58, -39.35)
CIE-LCHlch(49.01, 65.68, 323.19°)
OKLaboklab(58.26% 0.1404 -0.1092)
OKLCHoklch(58.26% 0.178 322.1)
XYZxyz(28.0244, 17.6001, 47.2591)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FB8 #5DB84F
analogous
#764FB8 #AA4FB8 #B84F92
triadic
#AA4FB8 #B8AA4F #4FB8AA
tetradic
#AA4FB8 #B8764F #5DB84F #4F92B8
square
#AA4FB8 #B8764F #5DB84F #4F92B8
split-complementary
#AA4FB8 #92B84F #4FB876
monochromatic
#5C2864 #843A90 #AA4FB8 #BF7BCA #D4A6DB

Accessibility & contrast

On white

4.65
#AA4FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AA4FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FB8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FB8#FFFFFF#000000##FFFFFF
##AA4FB81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#5B78B5
Tritanopia (blue-blind)
#AC5E7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa4fb8;
/* rgb */ color: rgb(170, 79, 184);
/* oklch */ color: oklch(58.3% 0.178 322.1);
Tailwind
colors: {
  custom: {
    50: '#c685ce',
    500: '#aa4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fb8;
$custom-light: #c685ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fb8",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 292,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.17787,
    "h": 322.1
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#AA4FB8
secondary
#A0C89A
accent
#D25666
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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