#AA3BC7#AA3BC7

#AA3BC7 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.219 H 318.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA3BC7
RGBrgb(170, 59, 199)
HSLhsl(288, 56%, 51%)
HSVhsv(288, 70%, 78%)
CMYKcmyk(14.6%, 70.4%, 0%, 22%)
CIE-LABlab(46.71, 64.16, -51.71)
CIE-LCHlch(46.71, 82.41, 321.13°)
OKLaboklab(56.87% 0.1638 -0.1451)
OKLCHoklch(56.87% 0.219 318.5)
XYZxyz(28.4489, 15.7988, 55.5727)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3BC7 #58C73B
analogous
#643BC7 #AA3BC7 #C73B9E
triadic
#AA3BC7 #C7AA3B #3BC7AA
tetradic
#AA3BC7 #C7643B #58C73B #3B9EC7
square
#AA3BC7 #C7643B #58C73B #3B9EC7
split-complementary
#AA3BC7 #9EC73B #3BC764
monochromatic
#5A1E69 #822C99 #AA3BC7 #BF6BD5 #D39AE2

Accessibility & contrast

On white

5.05
#AA3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AA3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3BC7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3BC7#FFFFFF#000000##FFFFFF
##AA3BC71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#A9567D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa3bc7;
/* rgb */ color: rgb(170, 59, 199);
/* oklch */ color: oklch(56.9% 0.219 318.5);
Tailwind
colors: {
  custom: {
    50: '#c77bd9',
    500: '#aa3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa3bc7;
$custom-light: #c77bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3bc7",
  "rgb": {
    "r": 170,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 287.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.2188,
    "h": 318.5
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#AA3BC7
secondary
#9DCE90
accent
#DF4968
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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