#AA4FBB#AA4FBB

#AA4FBB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.4% C 0.181 H 321.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AA4FBB
RGBrgb(170, 79, 187)
HSLhsl(291, 44%, 52%)
HSVhsv(291, 58%, 73%)
CMYKcmyk(9.1%, 57.8%, 0%, 26.7%)
CIE-LABlab(49.16, 53.17, -40.84)
CIE-LCHlch(49.16, 67.04, 322.47°)
OKLaboklab(58.43% 0.1407 -0.1135)
OKLCHoklch(58.43% 0.181 321.1)
XYZxyz(28.3422, 17.7272, 48.9329)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FBB #60BB4F
analogous
#744FBB #AA4FBB #BB4F96
triadic
#AA4FBB #BBAA4F #4FBBAA
tetradic
#AA4FBB #BB744F #60BB4F #4F96BB
square
#AA4FBB #BB744F #60BB4F #4F96BB
split-complementary
#AA4FBB #96BB4F #4FBB74
monochromatic
#5E2868 #853994 #AA4FBB #BF7BCC #D5A7DD

Accessibility & contrast

On white

4.62
#AA4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AA4FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4FBB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4FBB#FFFFFF#000000##FFFFFF
##AA4FBB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#AB5F7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4fbb;
/* rgb */ color: rgb(170, 79, 187);
/* oklch */ color: oklch(58.4% 0.181 321.1);
Tailwind
colors: {
  custom: {
    50: '#c685d0',
    500: '#aa4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fbb;
$custom-light: #c685d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fbb",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 290.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58427,
    "c": 0.18075,
    "h": 321.1
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#AA4FBB
secondary
#A3CA9B
accent
#D45468
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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