#AA51BF#AA51BF

#AA51BF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.182 H 319.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AA51BF
RGBrgb(170, 81, 191)
HSLhsl(289, 46%, 53%)
HSVhsv(289, 58%, 75%)
CMYKcmyk(11%, 57.6%, 0%, 25.1%)
CIE-LABlab(49.73, 52.99, -42.27)
CIE-LCHlch(49.73, 67.78, 321.42°)
OKLaboklab(58.91% 0.1383 -0.1177)
OKLCHoklch(58.91% 0.182 319.6)
XYZxyz(28.9228, 18.1937, 51.2683)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51BF #66BF51
analogous
#7351BF #AA51BF #BF519D
triadic
#AA51BF #BFAA51 #51BFAA
tetradic
#AA51BF #BF7351 #66BF51 #519DBF
square
#AA51BF #BF7351 #66BF51 #519DBF
split-complementary
#AA51BF #9DBF51 #51BF73
monochromatic
#60286D #88399A #AA51BF #C07ECF #D6AAE0

Accessibility & contrast

On white

4.53
#AA51BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AA51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51BF#FFFFFF#000000##000000
##AA51BF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#AB6280
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa51bf;
/* rgb */ color: rgb(170, 81, 191);
/* oklch */ color: oklch(58.9% 0.182 319.6);
Tailwind
colors: {
  custom: {
    50: '#c686d3',
    500: '#aa51bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa51bf;
$custom-light: #c686d3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51bf",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 288.545,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.1816,
    "h": 319.6
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#AA51BF
secondary
#A7CE9E
accent
#D6526B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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