#AA5FB3#AA5FB3

#AA5FB3 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.3% C 0.147 H 323.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AA5FB3
RGBrgb(170, 95, 179)
HSLhsl(294, 36%, 54%)
HSVhsv(294, 47%, 70%)
CMYKcmyk(5%, 46.9%, 0%, 29.8%)
CIE-LABlab(51.82, 43.52, -32.02)
CIE-LCHlch(51.82, 54.03, 323.66°)
OKLaboklab(60.26% 0.1176 -0.0881)
OKLCHoklch(60.26% 0.147 323.2)
XYZxyz(28.8056, 19.9864, 44.9795)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FB3 #68B35F
analogous
#805FB3 #AA5FB3 #B35F92
triadic
#AA5FB3 #B3AA5F #5FB3AA
tetradic
#AA5FB3 #B3805F #68B35F #5F92B3
square
#AA5FB3 #B3805F #68B35F #5F92B3
split-complementary
#AA5FB3 #92B35F #5FB380
monochromatic
#613167 #884590 #AA5FB3 #C088C7 #D6B2DA

Accessibility & contrast

On white

4.20
#AA5FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AA5FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FB3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FB3#FFFFFF#000000##000000
##AA5FB31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B6
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#AD6981
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5fb3;
/* rgb */ color: rgb(170, 95, 179);
/* oklch */ color: oklch(60.3% 0.147 323.2);
Tailwind
colors: {
  custom: {
    50: '#c58fca',
    500: '#aa5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fb3;
$custom-light: #c58fca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fb3",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 293.571,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.14698,
    "h": 323.2
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#AA5FB3
secondary
#A9C9A5
accent
#CC5C68
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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