#AA5FBF#AA5FBF

#AA5FBF is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.9% C 0.159 H 318.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA5FBF
RGBrgb(170, 95, 191)
HSLhsl(287, 43%, 56%)
HSVhsv(287, 50%, 75%)
CMYKcmyk(11%, 50.3%, 0%, 25.1%)
CIE-LABlab(52.39, 45.92, -38.07)
CIE-LCHlch(52.39, 59.65, 320.34°)
OKLaboklab(60.87% 0.1194 -0.1056)
OKLCHoklch(60.87% 0.159 318.5)
XYZxyz(30.0725, 20.4931, 51.6516)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FBF #74BF5F
analogous
#7A5FBF #AA5FBF #BF5FA4
triadic
#AA5FBF #BFAA5F #5FBFAA
tetradic
#AA5FBF #BF7A5F #74BF5F #5FA4BF
square
#AA5FBF #BF7A5F #74BF5F #5FA4BF
split-complementary
#AA5FBF #A4BF5F #5FBF7A
monochromatic
#662F75 #8B40A1 #AA5FBF #C18BD0 #D8B6E2

Accessibility & contrast

On white

4.12
#AA5FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AA5FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FBF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FBF#FFFFFF#000000##000000
##AA5FBF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#AA6D86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5fbf;
/* rgb */ color: rgb(170, 95, 191);
/* oklch */ color: oklch(60.9% 0.159 318.5);
Tailwind
colors: {
  custom: {
    50: '#c58fd2',
    500: '#aa5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fbf;
$custom-light: #c58fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fbf",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 286.875,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.15939,
    "h": 318.5
  },
  "luminance": 0.20492
}

Semantic roles & 50–950 ramp

primary
#AA5FBF
secondary
#B2D1A9
accent
#D35571
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AA5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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