#AA46BC#AA46BC

#AA46BC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.195 H 321.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA46BC
RGBrgb(170, 70, 188)
HSLhsl(291, 47%, 51%)
HSVhsv(291, 63%, 74%)
CMYKcmyk(9.6%, 62.8%, 0%, 26.3%)
CIE-LABlab(47.70, 57.51, -43.75)
CIE-LCHlch(47.70, 72.26, 322.74°)
OKLaboklab(57.38% 0.1519 -0.1219)
OKLCHoklch(57.38% 0.195 321.3)
XYZxyz(27.8438, 16.5586, 49.2967)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA46BC #58BC46
analogous
#6F46BC #AA46BC #BC4693
triadic
#AA46BC #BCAA46 #46BCAA
tetradic
#AA46BC #BC6F46 #58BC46 #4693BC
square
#AA46BC #BC6F46 #58BC46 #4693BC
split-complementary
#AA46BC #93BC46 #46BC6F
monochromatic
#5A2464 #823490 #AA46BC #BF73CC #D3A0DD

Accessibility & contrast

On white

4.87
#AA46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AA46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA46BC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA46BC#FFFFFF#000000##FFFFFF
##AA46BC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#AC597B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa46bc;
/* rgb */ color: rgb(170, 70, 188);
/* oklch */ color: oklch(57.4% 0.195 321.3);
Tailwind
colors: {
  custom: {
    50: '#c680d1',
    500: '#aa46bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa46bc;
$custom-light: #c680d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa46bc",
  "rgb": {
    "r": 170,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 290.847,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.19477,
    "h": 321.3
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#AA46BC
secondary
#9DC995
accent
#D65166
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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