#AA5FBE#AA5FBE

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

Color values

HEX#AA5FBE
RGBrgb(170, 95, 190)
HSLhsl(287, 42%, 56%)
HSVhsv(287, 50%, 75%)
CMYKcmyk(10.5%, 50%, 0%, 25.5%)
CIE-LABlab(52.34, 45.72, -37.57)
CIE-LCHlch(52.34, 59.17, 320.59°)
OKLaboklab(60.81% 0.1193 -0.1041)
OKLCHoklch(60.81% 0.158 318.9)
XYZxyz(29.9628, 20.4493, 51.0740)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FBE #73BE5F
analogous
#7A5FBE #AA5FBE #BE5FA2
triadic
#AA5FBE #BEAA5F #5FBEAA
tetradic
#AA5FBE #BE7A5F #73BE5F #5FA2BE
square
#AA5FBE #BE7A5F #73BE5F #5FA2BE
split-complementary
#AA5FBE #A2BE5F #5FBE7A
monochromatic
#652F74 #8B419F #AA5FBE #C18BD0 #D8B6E1

Accessibility & contrast

On white

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

On black

5.09
#AA5FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FBE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FBE#FFFFFF#000000##000000
##AA5FBE1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C1
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#AA6C86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5fbe;
/* rgb */ color: rgb(170, 95, 190);
/* oklch */ color: oklch(60.8% 0.158 318.9);
Tailwind
colors: {
  custom: {
    50: '#c58fd2',
    500: '#aa5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fbe;
$custom-light: #c58fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fbe",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 287.368,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.15834,
    "h": 318.9
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#AA5FBE
secondary
#B1D0A9
accent
#D25670
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AA5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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