#AA46BA#AA46BA

#AA46BA is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.193 H 321.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AA46BA
RGBrgb(170, 70, 186)
HSLhsl(292, 46%, 50%)
HSVhsv(292, 62%, 73%)
CMYKcmyk(8.6%, 62.4%, 0%, 27.1%)
CIE-LABlab(47.59, 57.13, -42.76)
CIE-LCHlch(47.59, 71.36, 323.19°)
OKLaboklab(57.26% 0.1519 -0.119)
OKLCHoklch(57.26% 0.193 321.9)
XYZxyz(27.6297, 16.4729, 48.1691)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA46BA #56BA46
analogous
#7046BA #AA46BA #BA4690
triadic
#AA46BA #BAAA46 #46BAAA
tetradic
#AA46BA #BA7046 #56BA46 #4690BA
square
#AA46BA #BA7046 #56BA46 #4690BA
split-complementary
#AA46BA #90BA46 #46BA70
monochromatic
#592461 #82358E #AA46BA #BE73CB #D39FDB

Accessibility & contrast

On white

4.89
#AA46BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AA46BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA46BA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA46BA#FFFFFF#000000##FFFFFF
##AA46BA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#AC587A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa46ba;
/* rgb */ color: rgb(170, 70, 186);
/* oklch */ color: oklch(57.3% 0.193 321.9);
Tailwind
colors: {
  custom: {
    50: '#c680cf',
    500: '#aa46ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa46ba;
$custom-light: #c680cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa46ba",
  "rgb": {
    "r": 170,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 291.724,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.19295,
    "h": 321.9
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#AA46BA
secondary
#9BC894
accent
#D55265
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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