#AA5FBD#AA5FBD

#AA5FBD is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.8% C 0.157 H 319.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AA5FBD
RGBrgb(170, 95, 189)
HSLhsl(288, 42%, 56%)
HSVhsv(288, 50%, 74%)
CMYKcmyk(10.1%, 49.7%, 0%, 25.9%)
CIE-LABlab(52.29, 45.51, -37.07)
CIE-LCHlch(52.29, 58.70, 320.84°)
OKLaboklab(60.76% 0.1192 -0.1027)
OKLCHoklch(60.76% 0.157 319.2)
XYZxyz(29.8539, 20.4057, 50.5004)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FBD #72BD5F
analogous
#7B5FBD #AA5FBD #BD5FA1
triadic
#AA5FBD #BDAA5F #5FBDAA
tetradic
#AA5FBD #BD7B5F #72BD5F #5FA1BD
square
#AA5FBD #BD7B5F #72BD5F #5FA1BD
split-complementary
#AA5FBD #A1BD5F #5FBD7B
monochromatic
#652F72 #8B419E #AA5FBD #C18ACF #D8B6E1

Accessibility & contrast

On white

4.13
#AA5FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AA5FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FBD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FBD#FFFFFF#000000##000000
##AA5FBD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#AB6C85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5fbd;
/* rgb */ color: rgb(170, 95, 189);
/* oklch */ color: oklch(60.8% 0.157 319.2);
Tailwind
colors: {
  custom: {
    50: '#c58fd1',
    500: '#aa5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fbd;
$custom-light: #c58fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fbd",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 287.872,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.1573,
    "h": 319.2
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#AA5FBD
secondary
#B0CFA8
accent
#D1566F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AA5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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