#AA58DC#AA58DC

#AA58DC is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.201 H 310.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AA58DC
RGBrgb(170, 88, 220)
HSLhsl(277, 65%, 60%)
HSVhsv(277, 60%, 86%)
CMYKcmyk(22.7%, 60%, 0%, 13.7%)
CIE-LABlab(52.61, 55.62, -54.28)
CIE-LCHlch(52.61, 77.71, 315.70°)
OKLaboklab(61.53% 0.1303 -0.1528)
OKLCHoklch(61.53% 0.201 310.5)
XYZxyz(32.9831, 20.6935, 69.9530)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA58DC #8ADC58
analogous
#6858DC #AA58DC #DC58CC
triadic
#AA58DC #DCAA58 #58DCAA
tetradic
#AA58DC #DC6858 #8ADC58 #58CCDC
square
#AA58DC #DC6858 #8ADC58 #58CCDC
split-complementary
#AA58DC #CCDC58 #58DC68
monochromatic
#6C2099 #8F2BCC #AA58DC #C48BE7 #DEBDF1

Accessibility & contrast

On white

4.09
#AA58DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AA58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA58DC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA58DC#FFFFFF#000000##000000
##AA58DC1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE0
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#A47192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa58dc;
/* rgb */ color: rgb(170, 88, 220);
/* oklch */ color: oklch(61.5% 0.201 310.5);
Tailwind
colors: {
  custom: {
    50: '#c78be7',
    500: '#aa58dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa58dc;
$custom-light: #c78be7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa58dc",
  "rgb": {
    "r": 170,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 277.273,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.2008,
    "h": 310.5
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#AA58DC
secondary
#C2E1AF
accent
#CD185D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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