#AA58D2#AA58D2

#AA58D2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.9% C 0.190 H 313.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AA58D2
RGBrgb(170, 88, 210)
HSLhsl(280, 58%, 58%)
HSVhsv(280, 58%, 82%)
CMYKcmyk(19%, 58.1%, 0%, 17.6%)
CIE-LABlab(52.04, 53.46, -49.51)
CIE-LCHlch(52.04, 72.87, 317.20°)
OKLaboklab(60.93% 0.1302 -0.1388)
OKLCHoklch(60.93% 0.19 313.2)
XYZxyz(31.6982, 20.1795, 63.1855)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA58D2 #80D258
analogous
#6D58D2 #AA58D2 #D258BD
triadic
#AA58D2 #D2AA58 #58D2AA
tetradic
#AA58D2 #D26D58 #80D258 #58BDD2
square
#AA58D2 #D26D58 #80D258 #58BDD2
split-complementary
#AA58D2 #BDD258 #58D26D
monochromatic
#69258A #8E32BB #AA58D2 #C388DF #DBB8EC

Accessibility & contrast

On white

4.17
#AA58D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AA58D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA58D2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA58D2#FFFFFF#000000##000000
##AA58D21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#A66E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa58d2;
/* rgb */ color: rgb(170, 88, 210);
/* oklch */ color: oklch(60.9% 0.190 313.2);
Tailwind
colors: {
  custom: {
    50: '#c68be0',
    500: '#aa58d2',
    950: '#000000',
  },
}
SCSS
$custom: #aa58d2;
$custom-light: #c68be0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa58d2",
  "rgb": {
    "r": 170,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 280.328,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.19033,
    "h": 313.2
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#AA58D2
secondary
#BBDBAB
accent
#E14779
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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