#AA58BA#AA58BA

#AA58BA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.6% C 0.166 H 320.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA58BA
RGBrgb(170, 88, 186)
HSLhsl(290, 42%, 54%)
HSVhsv(290, 53%, 73%)
CMYKcmyk(8.6%, 52.7%, 0%, 27.1%)
CIE-LABlab(50.77, 48.53, -37.73)
CIE-LCHlch(50.77, 61.47, 322.14°)
OKLaboklab(59.59% 0.1285 -0.1045)
OKLCHoklch(59.59% 0.166 320.9)
XYZxyz(28.9292, 19.0719, 48.6023)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA58BA #68BA58
analogous
#7958BA #AA58BA #BA5899
triadic
#AA58BA #BAAA58 #58BAAA
tetradic
#AA58BA #BA7958 #68BA58 #5899BA
square
#AA58BA #BA7958 #68BA58 #5899BA
split-complementary
#AA58BA #99BA58 #58BA79
monochromatic
#612C6B #883E97 #AA58BA #C083CC #D6AFDE

Accessibility & contrast

On white

4.36
#AA58BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AA58BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA58BA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA58BA#FFFFFF#000000##000000
##AA58BA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#AB6681
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa58ba;
/* rgb */ color: rgb(170, 88, 186);
/* oklch */ color: oklch(59.6% 0.166 320.9);
Tailwind
colors: {
  custom: {
    50: '#c58acf',
    500: '#aa58ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa58ba;
$custom-light: #c58acf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa58ba",
  "rgb": {
    "r": 170,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 290.204,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5959,
    "c": 0.16568,
    "h": 320.9
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#AA58BA
secondary
#A9CCA2
accent
#D1566B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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