#AA5FBB#AA5FBB

#AA5FBB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.7% C 0.155 H 320.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AA5FBB
RGBrgb(170, 95, 187)
HSLhsl(289, 40%, 55%)
HSVhsv(289, 49%, 73%)
CMYKcmyk(9.1%, 49.2%, 0%, 26.7%)
CIE-LABlab(52.20, 45.11, -36.06)
CIE-LCHlch(52.20, 57.75, 321.36°)
OKLaboklab(60.66% 0.1189 -0.0998)
OKLCHoklch(60.66% 0.155 320)
XYZxyz(29.6383, 20.3195, 49.3649)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FBB #70BB5F
analogous
#7C5FBB #AA5FBB #BB5F9E
triadic
#AA5FBB #BBAA5F #5FBBAA
tetradic
#AA5FBB #BB7C5F #70BB5F #5F9EBB
square
#AA5FBB #BB7C5F #70BB5F #5F9EBB
split-complementary
#AA5FBB #9EBB5F #5FBB7C
monochromatic
#643070 #8A429B #AA5FBB #C18ACD #D8B5E0

Accessibility & contrast

On white

4.15
#AA5FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AA5FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FBB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FBB#FFFFFF#000000##000000
##AA5FBB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#AB6B84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5fbb;
/* rgb */ color: rgb(170, 95, 187);
/* oklch */ color: oklch(60.7% 0.155 320.0);
Tailwind
colors: {
  custom: {
    50: '#c58fd0',
    500: '#aa5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fbb;
$custom-light: #c58fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fbb",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 288.913,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.1552,
    "h": 320
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#AA5FBB
secondary
#AFCEA8
accent
#D0586E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AA5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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