#A332A8#A332A8

#A332A8 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.200 H 326.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A332A8
RGBrgb(163, 50, 168)
HSLhsl(297, 54%, 43%)
HSVhsv(297, 70%, 66%)
CMYKcmyk(3%, 70.2%, 0%, 34.1%)
CIE-LABlab(42.61, 60.37, -40.13)
CIE-LCHlch(42.61, 72.49, 326.38°)
OKLaboklab(53.14% 0.166 -0.1114)
OKLCHoklch(53.14% 0.2 326.1)
XYZxyz(23.3123, 12.8964, 38.2996)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A332A8 #37A832
analogous
#6832A8 #A332A8 #A83272
triadic
#A332A8 #A8A332 #32A8A3
tetradic
#A332A8 #A86832 #37A832 #3272A8
square
#A332A8 #A86832 #37A832 #3272A8
split-complementary
#A332A8 #72A832 #32A868
monochromatic
#47164A #752479 #A332A8 #C54DCA #D47CD8

Accessibility & contrast

On white

5.87
#A332A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A332A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A332A8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A332A8#FFFFFF#000000##FFFFFF
##A332A81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185CAB
Deuteranopia (green-blind)
#4C69A5
Tritanopia (blue-blind)
#A7456A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a332a8;
/* rgb */ color: rgb(163, 50, 168);
/* oklch */ color: oklch(53.1% 0.200 326.1);
Tailwind
colors: {
  custom: {
    50: '#c274c2',
    500: '#a332a8',
    950: '#000000',
  },
}
SCSS
$custom: #a332a8;
$custom-light: #c274c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a332a8",
  "rgb": {
    "r": 163,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 297.458,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.19992,
    "h": 326.1
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#A332A8
secondary
#78C175
accent
#DD4A51
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A332A8

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

Preview Lab → · Contrast checker → · Palette generator →

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