#AA5FC2#AA5FC2

#AA5FC2 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.163 H 317.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AA5FC2
RGBrgb(170, 95, 194)
HSLhsl(285, 45%, 57%)
HSVhsv(285, 51%, 76%)
CMYKcmyk(12.4%, 51%, 0%, 23.9%)
CIE-LABlab(52.54, 46.54, -39.56)
CIE-LCHlch(52.54, 61.08, 319.63°)
OKLaboklab(61.02% 0.1198 -0.1099)
OKLCHoklch(61.02% 0.163 317.5)
XYZxyz(30.4060, 20.6265, 53.4081)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FC2 #77C25F
analogous
#795FC2 #AA5FC2 #C25FA8
triadic
#AA5FC2 #C2AA5F #5FC2AA
tetradic
#AA5FC2 #C2795F #77C25F #5FA8C2
square
#AA5FC2 #C2795F #77C25F #5FA8C2
split-complementary
#AA5FC2 #A8C25F #5FC279
monochromatic
#672E79 #8C3FA5 #AA5FC2 #C28BD3 #D9B8E4

Accessibility & contrast

On white

4.10
#AA5FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AA5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FC2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FC2#FFFFFF#000000##000000
##AA5FC21.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C5
Deuteranopia (green-blind)
#6280BF
Tritanopia (blue-blind)
#AA6E88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5fc2;
/* rgb */ color: rgb(170, 95, 194);
/* oklch */ color: oklch(61.0% 0.163 317.5);
Tailwind
colors: {
  custom: {
    50: '#c58fd5',
    500: '#aa5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fc2;
$custom-light: #c58fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fc2",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 285.455,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.16255,
    "h": 317.5
  },
  "luminance": 0.20626
}

Semantic roles & 50–950 ramp

primary
#AA5FC2
secondary
#B4D3AA
accent
#D45373
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #AA5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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