#AA46AA#AA46AA

#AA46AA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.179 H 327.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AA46AA
RGBrgb(170, 70, 170)
HSLhsl(300, 42%, 47%)
HSVhsv(300, 59%, 67%)
CMYKcmyk(0%, 58.8%, 0%, 33.3%)
CIE-LABlab(46.75, 54.19, -34.70)
CIE-LCHlch(46.75, 64.35, 327.37°)
OKLaboklab(56.38% 0.1509 -0.0956)
OKLCHoklch(56.38% 0.179 327.6)
XYZxyz(26.0230, 15.8303, 39.7073)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA46AA #46AA46
analogous
#7846AA #AA46AA #AA4678
triadic
#AA46AA #AAAA46 #46AAAA
tetradic
#AA46AA #AA7846 #46AA46 #4678AA
square
#AA46AA #AA7846 #46AA46 #4678AA
split-complementary
#AA46AA #78AA46 #46AA78
monochromatic
#532253 #7F347F #AA46AA #C26BC2 #D496D4

Accessibility & contrast

On white

5.04
#AA46AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AA46AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA46AA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA46AA#FFFFFF#000000##FFFFFF
##AA46AA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AD
Deuteranopia (green-blind)
#5D73A7
Tritanopia (blue-blind)
#AF5271
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa46aa;
/* rgb */ color: rgb(170, 70, 170);
/* oklch */ color: oklch(56.4% 0.179 327.6);
Tailwind
colors: {
  custom: {
    50: '#c67fc3',
    500: '#aa46aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa46aa;
$custom-light: #c67fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa46aa",
  "rgb": {
    "r": 170,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.17863,
    "h": 327.6
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#AA46AA
secondary
#8CC08C
accent
#D15656
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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