#A732B2#A732B2

#A732B2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.210 H 324.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A732B2
RGBrgb(167, 50, 178)
HSLhsl(295, 56%, 45%)
HSVhsv(295, 72%, 70%)
CMYKcmyk(6.2%, 71.9%, 0%, 30.2%)
CIE-LABlab(43.82, 63.00, -44.09)
CIE-LCHlch(43.82, 76.90, 325.01°)
OKLaboklab(54.31% 0.1703 -0.1228)
OKLCHoklch(54.31% 0.21 324.2)
XYZxyz(25.1122, 13.7126, 43.4349)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A732B2 #3DB232
analogous
#6732B2 #A732B2 #B2327D
triadic
#A732B2 #B2A732 #32B2A7
tetradic
#A732B2 #B26732 #3DB232 #327DB2
square
#A732B2 #B26732 #3DB232 #327DB2
split-complementary
#A732B2 #7DB232 #32B267
monochromatic
#4D1752 #7A2582 #A732B2 #C453CF #D482DC

Accessibility & contrast

On white

5.61
#A732B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A732B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A732B2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A732B2#FFFFFF#000000##FFFFFF
##A732B21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045FB6
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#AA486F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a732b2;
/* rgb */ color: rgb(167, 50, 178);
/* oklch */ color: oklch(54.3% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#c575c9',
    500: '#a732b2',
    950: '#000000',
  },
}
SCSS
$custom: #a732b2;
$custom-light: #c575c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a732b2",
  "rgb": {
    "r": 167,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 294.844,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.21,
    "h": 324.2
  },
  "luminance": 0.13711
}

Semantic roles & 50–950 ramp

primary
#A732B2
secondary
#81C57B
accent
#DF4855
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A732B2

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

Preview Lab → · Contrast checker → · Palette generator →

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