#AA5CBF#AA5CBF

#AA5CBF is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.4% C 0.164 H 318.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AA5CBF
RGBrgb(170, 92, 191)
HSLhsl(287, 44%, 55%)
HSVhsv(287, 52%, 75%)
CMYKcmyk(11%, 51.8%, 0%, 25.1%)
CIE-LABlab(51.80, 47.48, -39.00)
CIE-LCHlch(51.80, 61.45, 320.60°)
OKLaboklab(60.43% 0.1236 -0.1083)
OKLCHoklch(60.43% 0.164 318.8)
XYZxyz(29.8074, 19.9630, 51.5632)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CBF #71BF5C
analogous
#795CBF #AA5CBF #BF5CA2
triadic
#AA5CBF #BFAA5C #5CBFAA
tetradic
#AA5CBF #BF795C #71BF5C #5CA2BF
square
#AA5CBF #BF795C #71BF5C #5CA2BF
split-complementary
#AA5CBF #A2BF5C #5CBF79
monochromatic
#642D73 #8B3F9F #AA5CBF #C188D0 #D8B4E2

Accessibility & contrast

On white

4.21
#AA5CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AA5CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CBF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CBF#FFFFFF#000000##000000
##AA5CBF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#AA6A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5cbf;
/* rgb */ color: rgb(170, 92, 191);
/* oklch */ color: oklch(60.4% 0.164 318.8);
Tailwind
colors: {
  custom: {
    50: '#c58dd3',
    500: '#aa5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cbf;
$custom-light: #c58dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cbf",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 287.273,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60426,
    "c": 0.1643,
    "h": 318.8
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#AA5CBF
secondary
#B0D0A7
accent
#D3546F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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