#AA58DD#AA58DD

#AA58DD is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.202 H 310.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AA58DD
RGBrgb(170, 88, 221)
HSLhsl(277, 66%, 61%)
HSVhsv(277, 60%, 87%)
CMYKcmyk(23.1%, 60.2%, 0%, 13.3%)
CIE-LABlab(52.67, 55.84, -54.75)
CIE-LCHlch(52.67, 78.20, 315.56°)
OKLaboklab(61.6% 0.1303 -0.1541)
OKLCHoklch(61.6% 0.202 310.2)
XYZxyz(33.1159, 20.7466, 70.6526)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA58DD #8BDD58
analogous
#6758DD #AA58DD #DD58CE
triadic
#AA58DD #DDAA58 #58DDAA
tetradic
#AA58DD #DD6758 #8BDD58 #58CEDD
square
#AA58DD #DD6758 #8BDD58 #58CEDD
split-complementary
#AA58DD #CEDD58 #58DD67
monochromatic
#6C209B #8F2ACE #AA58DD #C48BE7 #DEBEF2

Accessibility & contrast

On white

4.08
#AA58DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AA58DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA58DD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA58DD#FFFFFF#000000##000000
##AA58DD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#227AE1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#A37192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa58dd;
/* rgb */ color: rgb(170, 88, 221);
/* oklch */ color: oklch(61.6% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#c78be8',
    500: '#aa58dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa58dd;
$custom-light: #c78be8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa58dd",
  "rgb": {
    "r": 170,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 276.992,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.20185,
    "h": 310.2
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#AA58DD
secondary
#C3E2AF
accent
#CE175D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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