#A332A2#A332A2

#A332A2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.195 H 328.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A332A2
RGBrgb(163, 50, 162)
HSLhsl(301, 53%, 42%)
HSVhsv(301, 69%, 64%)
CMYKcmyk(0%, 69.3%, 0.6%, 36.1%)
CIE-LABlab(42.27, 59.34, -37.08)
CIE-LCHlch(42.27, 69.97, 328.00°)
OKLaboklab(52.79% 0.1659 -0.1025)
OKLCHoklch(52.79% 0.195 328.3)
XYZxyz(22.7662, 12.6780, 35.4234)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A332A2 #32A333
analogous
#6C32A3 #A332A2 #A3326A
triadic
#A332A2 #A2A332 #32A2A3
tetradic
#A332A2 #A36C32 #32A333 #326AA3
square
#A332A2 #A36C32 #32A333 #326AA3
split-complementary
#A332A2 #6AA332 #32A36C
monochromatic
#451545 #742473 #A332A2 #C84BC7 #D679D5

Accessibility & contrast

On white

5.94
#A332A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A332A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A332A2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A332A2#FFFFFF#000000##FFFFFF
##A332A21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#A84266
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a332a2;
/* rgb */ color: rgb(163, 50, 162);
/* oklch */ color: oklch(52.8% 0.195 328.3);
Tailwind
colors: {
  custom: {
    50: '#c274be',
    500: '#a332a2',
    950: '#000000',
  },
}
SCSS
$custom: #a332a2;
$custom-light: #c274be;
$custom-dark: #000000;
JSON
{
  "hex": "#a332a2",
  "rgb": {
    "r": 163,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 300.531,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.19505,
    "h": 328.3
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#A332A2
secondary
#72BF73
accent
#DC4D4B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A332A2

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

Preview Lab → · Contrast checker → · Palette generator →

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