#A532B2#A532B2

#A532B2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.209 H 323.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A532B2
RGBrgb(165, 50, 178)
HSLhsl(294, 56%, 45%)
HSVhsv(294, 72%, 70%)
CMYKcmyk(7.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(43.50, 62.57, -44.62)
CIE-LCHlch(43.50, 76.85, 324.51°)
OKLaboklab(54.03% 0.1681 -0.1244)
OKLCHoklch(54.03% 0.209 323.5)
XYZxyz(24.6928, 13.4964, 43.4153)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A532B2 #3FB232
analogous
#6532B2 #A532B2 #B2327F
triadic
#A532B2 #B2A532 #32B2A5
tetradic
#A532B2 #B26532 #3FB232 #327FB2
square
#A532B2 #B26532 #3FB232 #327FB2
split-complementary
#A532B2 #7FB232 #32B265
monochromatic
#4C1752 #792582 #A532B2 #C253CF #D382DC

Accessibility & contrast

On white

5.68
#A532B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A532B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A532B2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A532B2#FFFFFF#000000##FFFFFF
##A532B21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#486BAF
Tritanopia (blue-blind)
#A8496F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a532b2;
/* rgb */ color: rgb(165, 50, 178);
/* oklch */ color: oklch(54.0% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#c375c9',
    500: '#a532b2',
    950: '#000000',
  },
}
SCSS
$custom: #a532b2;
$custom-light: #c375c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a532b2",
  "rgb": {
    "r": 165,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 293.906,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.2091,
    "h": 323.5
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#A532B2
secondary
#82C57B
accent
#DF4858
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A532B2

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

Preview Lab → · Contrast checker → · Palette generator →

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