#AA58E1#AA58E1

#AA58E1 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.206 H 309.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AA58E1
RGBrgb(170, 88, 225)
HSLhsl(276, 70%, 61%)
HSVhsv(276, 61%, 88%)
CMYKcmyk(24.4%, 60.9%, 0%, 11.8%)
CIE-LABlab(52.91, 56.71, -56.63)
CIE-LCHlch(52.91, 80.15, 315.04°)
OKLaboklab(61.84% 0.1303 -0.1597)
OKLCHoklch(61.84% 0.206 309.2)
XYZxyz(33.6552, 20.9623, 73.4928)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA58E1 #8FE158
analogous
#6658E1 #AA58E1 #E158D4
triadic
#AA58E1 #E1AA58 #58E1AA
tetradic
#AA58E1 #E16658 #8FE158 #58D4E1
square
#AA58E1 #E16658 #8FE158 #58D4E1
split-complementary
#AA58E1 #D4E158 #58E166
monochromatic
#6C1DA2 #8F26D5 #AA58E1 #C48CEA #DFC0F4

Accessibility & contrast

On white

4.04
#AA58E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AA58E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA58E1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA58E1#FFFFFF#000000##000000
##AA58E11.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE5
Deuteranopia (green-blind)
#457FDE
Tritanopia (blue-blind)
#A27394
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa58e1;
/* rgb */ color: rgb(170, 88, 225);
/* oklch */ color: oklch(61.8% 0.206 309.2);
Tailwind
colors: {
  custom: {
    50: '#c78beb',
    500: '#aa58e1',
    950: '#000000',
  },
}
SCSS
$custom: #aa58e1;
$custom-light: #c78beb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa58e1",
  "rgb": {
    "r": 170,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 275.912,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.20605,
    "h": 309.2
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#AA58E1
secondary
#C5E4B1
accent
#D21460
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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