#AA5FCC#AA5FCC

#AA5FCC is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.6% C 0.173 H 314.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA5FCC
RGBrgb(170, 95, 204)
HSLhsl(281, 52%, 59%)
HSVhsv(281, 53%, 80%)
CMYKcmyk(16.7%, 53.4%, 0%, 20%)
CIE-LABlab(53.05, 48.64, -44.48)
CIE-LCHlch(53.05, 65.91, 317.55°)
OKLaboklab(61.57% 0.1208 -0.1242)
OKLCHoklch(61.57% 0.173 314.2)
XYZxyz(31.5671, 21.0910, 59.5231)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FCC #81CC5F
analogous
#735FCC #AA5FCC #CC5FB8
triadic
#AA5FCC #CCAA5F #5FCCAA
tetradic
#AA5FCC #CC735F #81CC5F #5FB8CC
square
#AA5FCC #CC735F #81CC5F #5FB8CC
split-complementary
#AA5FCC #B8CC5F #5FCC73
monochromatic
#692B86 #8E39B4 #AA5FCC #C38DDB #DBBCEA

Accessibility & contrast

On white

4.02
#AA5FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA5FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FCC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FCC#FFFFFF#000000##000000
##AA5FCC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#A7718D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5fcc;
/* rgb */ color: rgb(170, 95, 204);
/* oklch */ color: oklch(61.6% 0.173 314.2);
Tailwind
colors: {
  custom: {
    50: '#c68fdc',
    500: '#aa5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fcc;
$custom-light: #c68fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fcc",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 281.284,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.17323,
    "h": 314.2
  },
  "luminance": 0.2109
}

Semantic roles & 50–950 ramp

primary
#AA5FCC
secondary
#BBD9AE
accent
#DB4D79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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