#AA5FBC#AA5FBC

#AA5FBC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.7% C 0.156 H 319.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA5FBC
RGBrgb(170, 95, 188)
HSLhsl(288, 41%, 55%)
HSVhsv(288, 49%, 74%)
CMYKcmyk(9.6%, 49.5%, 0%, 26.3%)
CIE-LABlab(52.24, 45.31, -36.57)
CIE-LCHlch(52.24, 58.22, 321.10°)
OKLaboklab(60.71% 0.119 -0.1012)
OKLCHoklch(60.71% 0.156 319.6)
XYZxyz(29.7457, 20.3624, 49.9307)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FBC #71BC5F
analogous
#7B5FBC #AA5FBC #BC5F9F
triadic
#AA5FBC #BCAA5F #5FBCAA
tetradic
#AA5FBC #BC7B5F #71BC5F #5F9FBC
square
#AA5FBC #BC7B5F #71BC5F #5F9FBC
split-complementary
#AA5FBC #9FBC5F #5FBC7B
monochromatic
#642F71 #8B419C #AA5FBC #C18ACE #D8B5E0

Accessibility & contrast

On white

4.14
#AA5FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA5FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FBC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FBC#FFFFFF#000000##000000
##AA5FBC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#667FB9
Tritanopia (blue-blind)
#AB6C85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5fbc;
/* rgb */ color: rgb(170, 95, 188);
/* oklch */ color: oklch(60.7% 0.156 319.6);
Tailwind
colors: {
  custom: {
    50: '#c58fd0',
    500: '#aa5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fbc;
$custom-light: #c58fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fbc",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 288.387,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.15625,
    "h": 319.6
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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