#AA62BB#AA62BB

#AA62BB is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.1% C 0.150 H 319.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA62BB
RGBrgb(170, 98, 187)
HSLhsl(289, 40%, 56%)
HSVhsv(289, 48%, 73%)
CMYKcmyk(9.1%, 47.6%, 0%, 26.7%)
CIE-LABlab(52.81, 43.52, -35.11)
CIE-LCHlch(52.81, 55.92, 321.11°)
OKLaboklab(61.11% 0.1146 -0.097)
OKLCHoklch(61.11% 0.15 319.7)
XYZxyz(29.9138, 20.8704, 49.4567)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA62BB #73BB62
analogous
#7D62BB #AA62BB #BB629F
triadic
#AA62BB #BBAA62 #62BBAA
tetradic
#AA62BB #BB7D62 #73BB62 #629FBB
square
#AA62BB #BB7D62 #73BB62 #629FBB
split-complementary
#AA62BB #9FBB62 #62BB7D
monochromatic
#653171 #8B449C #AA62BB #C18DCD #D8B7E0

Accessibility & contrast

On white

4.06
#AA62BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AA62BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA62BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA62BB#FFFFFF#000000##000000
##AA62BB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#6881B8
Tritanopia (blue-blind)
#AB6E86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa62bb;
/* rgb */ color: rgb(170, 98, 187);
/* oklch */ color: oklch(61.1% 0.150 319.7);
Tailwind
colors: {
  custom: {
    50: '#c591d0',
    500: '#aa62bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa62bb;
$custom-light: #c591d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa62bb",
  "rgb": {
    "r": 170,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 288.539,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.15017,
    "h": 319.7
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#AA62BB
secondary
#B1CFAA
accent
#CF586F
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AA62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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