#AA58CB#AA58CB

#AA58CB is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.183 H 315.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA58CB
RGBrgb(170, 88, 203)
HSLhsl(283, 53%, 57%)
HSVhsv(283, 57%, 80%)
CMYKcmyk(16.3%, 56.7%, 0%, 20.4%)
CIE-LABlab(51.65, 51.99, -46.12)
CIE-LCHlch(51.65, 69.50, 318.42°)
OKLaboklab(60.53% 0.1299 -0.1289)
OKLCHoklch(60.53% 0.183 315.2)
XYZxyz(30.8451, 19.8383, 58.6927)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA58CB #79CB58
analogous
#7158CB #AA58CB #CB58B2
triadic
#AA58CB #CBAA58 #58CBAA
tetradic
#AA58CB #CB7158 #79CB58 #58B2CB
square
#AA58CB #CB7158 #79CB58 #58B2CB
split-complementary
#AA58CB #B2CB58 #58CB71
monochromatic
#672881 #8D37AF #AA58CB #C287DA #DAB5E8

Accessibility & contrast

On white

4.23
#AA58CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA58CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA58CB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA58CB#FFFFFF#000000##000000
##AA58CB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#A86B89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa58cb;
/* rgb */ color: rgb(170, 88, 203);
/* oklch */ color: oklch(60.5% 0.183 315.2);
Tailwind
colors: {
  custom: {
    50: '#c68bdb',
    500: '#aa58cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa58cb;
$custom-light: #c68bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa58cb",
  "rgb": {
    "r": 170,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 282.783,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.18305,
    "h": 315.2
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#AA58CB
secondary
#B5D7A8
accent
#DC4C75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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