#AA62BC#AA62BC

#AA62BC is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.2% C 0.151 H 319.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AA62BC
RGBrgb(170, 98, 188)
HSLhsl(288, 40%, 56%)
HSVhsv(288, 48%, 74%)
CMYKcmyk(9.6%, 47.9%, 0%, 26.3%)
CIE-LABlab(52.85, 43.73, -35.61)
CIE-LCHlch(52.85, 56.39, 320.84°)
OKLaboklab(61.16% 0.1148 -0.0985)
OKLCHoklch(61.16% 0.151 319.4)
XYZxyz(30.0212, 20.9133, 50.0225)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA62BC #74BC62
analogous
#7D62BC #AA62BC #BC62A1
triadic
#AA62BC #BCAA62 #62BCAA
tetradic
#AA62BC #BC7D62 #74BC62 #62A1BC
square
#AA62BC #BC7D62 #74BC62 #62A1BC
split-complementary
#AA62BC #A1BC62 #62BC7D
monochromatic
#663173 #8B439E #AA62BC #C18DCE #D8B8E1

Accessibility & contrast

On white

4.05
#AA62BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AA62BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA62BC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA62BC#FFFFFF#000000##000000
##AA62BC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#AB6E86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa62bc;
/* rgb */ color: rgb(170, 98, 188);
/* oklch */ color: oklch(61.2% 0.151 319.4);
Tailwind
colors: {
  custom: {
    50: '#c591d0',
    500: '#aa62bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa62bc;
$custom-light: #c591d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa62bc",
  "rgb": {
    "r": 170,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 288,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.15122,
    "h": 319.4
  },
  "luminance": 0.20912
}

Semantic roles & 50–950 ramp

primary
#AA62BC
secondary
#B2CFAA
accent
#D05870
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AA62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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