#AA58E3#AA58E3

#AA58E3 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.208 H 308.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA58E3
RGBrgb(170, 88, 227)
HSLhsl(275, 71%, 62%)
HSVhsv(275, 61%, 89%)
CMYKcmyk(25.1%, 61.2%, 0%, 11%)
CIE-LABlab(53.03, 57.16, -57.57)
CIE-LCHlch(53.03, 81.12, 314.79°)
OKLaboklab(61.97% 0.1302 -0.1624)
OKLCHoklch(61.97% 0.208 308.7)
XYZxyz(33.9296, 21.0721, 74.9381)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA58E3 #91E358
analogous
#6558E3 #AA58E3 #E358D6
triadic
#AA58E3 #E3AA58 #58E3AA
tetradic
#AA58E3 #E36558 #91E358 #58D6E3
square
#AA58E3 #E36558 #91E358 #58D6E3
split-complementary
#AA58E3 #D6E358 #58E365
monochromatic
#6D1CA5 #8F24D9 #AA58E3 #C58CEC #DFC1F5

Accessibility & contrast

On white

4.03
#AA58E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA58E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA58E3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA58E3#FFFFFF#000000##000000
##AA58E31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#137BE7
Deuteranopia (green-blind)
#4380E0
Tritanopia (blue-blind)
#A27396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa58e3;
/* rgb */ color: rgb(170, 88, 227);
/* oklch */ color: oklch(62.0% 0.208 308.7);
Tailwind
colors: {
  custom: {
    50: '#c78bec',
    500: '#aa58e3',
    950: '#000000',
  },
}
SCSS
$custom: #aa58e3;
$custom-light: #c78bec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa58e3",
  "rgb": {
    "r": 170,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 275.396,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.20815,
    "h": 308.7
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#AA58E3
secondary
#C7E5B2
accent
#D31261
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA58E3

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

Preview Lab → · Contrast checker → · Palette generator →

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