#A332C2#A332C2

#A332C2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.222 H 317.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A332C2
RGBrgb(163, 50, 194)
HSLhsl(287, 59%, 48%)
HSVhsv(287, 74%, 76%)
CMYKcmyk(16%, 74.2%, 0%, 23.9%)
CIE-LABlab(44.18, 65.09, -52.93)
CIE-LCHlch(44.18, 83.90, 320.89°)
OKLaboklab(54.76% 0.1645 -0.1488)
OKLCHoklch(54.76% 0.222 317.9)
XYZxyz(25.9811, 13.9639, 52.3552)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A332C2 #51C232
analogous
#5B32C2 #A332C2 #C23299
triadic
#A332C2 #C2A332 #32C2A3
tetradic
#A332C2 #C25B32 #51C232 #3299C2
square
#A332C2 #C25B32 #51C232 #3299C2
split-complementary
#A332C2 #99C232 #32C25B
monochromatic
#511961 #7A2591 #A332C2 #BB5CD5 #CF8DE2

Accessibility & contrast

On white

5.54
#A332C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A332C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A332C2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A332C2#FFFFFF#000000##FFFFFF
##A332C21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#386CBF
Tritanopia (blue-blind)
#A25078
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a332c2;
/* rgb */ color: rgb(163, 50, 194);
/* oklch */ color: oklch(54.8% 0.222 317.9);
Tailwind
colors: {
  custom: {
    50: '#c275d5',
    500: '#a332c2',
    950: '#000000',
  },
}
SCSS
$custom: #a332c2;
$custom-light: #c275d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a332c2",
  "rgb": {
    "r": 163,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 287.083,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.22181,
    "h": 317.9
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#A332C2
secondary
#93CC84
accent
#E24667
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A332C2

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

Preview Lab → · Contrast checker → · Palette generator →

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