#A532A2#A532A2

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

Color values

HEX#A532A2
RGBrgb(165, 50, 162)
HSLhsl(302, 53%, 42%)
HSVhsv(302, 70%, 65%)
CMYKcmyk(0%, 69.7%, 1.8%, 35.3%)
CIE-LABlab(42.60, 59.80, -36.55)
CIE-LCHlch(42.60, 70.09, 328.57°)
OKLaboklab(53.09% 0.1681 -0.1009)
OKLCHoklch(53.09% 0.196 329)
XYZxyz(23.1790, 12.8909, 35.4428)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A532A2 #32A535
analogous
#6E32A5 #A532A2 #A53269
triadic
#A532A2 #A2A532 #32A2A5
tetradic
#A532A2 #A56E32 #32A535 #3269A5
square
#A532A2 #A56E32 #32A535 #3269A5
split-complementary
#A532A2 #69A532 #32A56E
monochromatic
#471646 #762474 #A532A2 #C94CC5 #D77BD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A532A2#FFFFFF#000000##FFFFFF
##A532A21.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)
#235BA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#AB4166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a532a2;
/* rgb */ color: rgb(165, 50, 162);
/* oklch */ color: oklch(53.1% 0.196 329.0);
Tailwind
colors: {
  custom: {
    50: '#c374be',
    500: '#a532a2',
    950: '#000000',
  },
}
SCSS
$custom: #a532a2;
$custom-light: #c374be;
$custom-dark: #000000;
JSON
{
  "hex": "#a532a2",
  "rgb": {
    "r": 165,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 301.565,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53085,
    "c": 0.19609,
    "h": 329
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#A532A2
secondary
#73BF75
accent
#DD4F4B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A532A2

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

Preview Lab → · Contrast checker → · Palette generator →

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