#AA5FB2#AA5FB2

#AA5FB2 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.2% C 0.146 H 323.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AA5FB2
RGBrgb(170, 95, 178)
HSLhsl(294, 35%, 54%)
HSVhsv(294, 47%, 70%)
CMYKcmyk(4.5%, 46.6%, 0%, 30.2%)
CIE-LABlab(51.78, 43.32, -31.51)
CIE-LCHlch(51.78, 53.57, 323.97°)
OKLaboklab(60.21% 0.1175 -0.0867)
OKLCHoklch(60.21% 0.146 323.6)
XYZxyz(28.7049, 19.9461, 44.4488)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FB2 #67B25F
analogous
#805FB2 #AA5FB2 #B25F90
triadic
#AA5FB2 #B2AA5F #5FB2AA
tetradic
#AA5FB2 #B2805F #67B25F #5F90B2
square
#AA5FB2 #B2805F #67B25F #5F90B2
split-complementary
#AA5FB2 #90B25F #5FB280
monochromatic
#613166 #88458F #AA5FB2 #C088C6 #D6B2DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FB2#FFFFFF#000000##000000
##AA5FB21.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)
#5576B5
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#AD6980
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5fb2;
/* rgb */ color: rgb(170, 95, 178);
/* oklch */ color: oklch(60.2% 0.146 323.6);
Tailwind
colors: {
  custom: {
    50: '#c58fc9',
    500: '#aa5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fb2;
$custom-light: #c58fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fb2",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 294.217,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.14597,
    "h": 323.6
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#AA5FB2
secondary
#A8C8A5
accent
#CB5D67
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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