#A532D7#A532D7

#A532D7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.241 H 312.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A532D7
RGBrgb(165, 50, 215)
HSLhsl(282, 67%, 52%)
HSVhsv(282, 77%, 84%)
CMYKcmyk(23.3%, 76.7%, 0%, 15.7%)
CIE-LABlab(45.89, 69.53, -62.28)
CIE-LCHlch(45.89, 93.35, 318.15°)
OKLaboklab(56.48% 0.1639 -0.1762)
OKLCHoklch(56.48% 0.241 312.9)
XYZxyz(28.9212, 15.1877, 65.6848)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A532D7 #64D732
analogous
#5332D7 #A532D7 #D732B7
triadic
#A532D7 #D7A532 #32D7A5
tetradic
#A532D7 #D75332 #64D732 #32B7D7
square
#A532D7 #D75332 #64D732 #32B7D7
split-complementary
#A532D7 #B7D732 #32D753
monochromatic
#5A1777 #8121AB #A532D7 #BB65E1 #D298EB

Accessibility & contrast

On white

5.20
#A532D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A532D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A532D7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A532D7#FFFFFF#000000##FFFFFF
##A532D71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#1B6FD4
Tritanopia (blue-blind)
#9F5984
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a532d7;
/* rgb */ color: rgb(165, 50, 215);
/* oklch */ color: oklch(56.5% 0.241 312.9);
Tailwind
colors: {
  custom: {
    50: '#c577e4',
    500: '#a532d7',
    950: '#000000',
  },
}
SCSS
$custom: #a532d7;
$custom-light: #c577e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a532d7",
  "rgb": {
    "r": 165,
    "g": 50,
    "b": 215
  },
  "hsl": {
    "h": 281.818,
    "s": 67.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.24064,
    "h": 312.9
  },
  "luminance": 0.15187
}

Semantic roles & 50–950 ramp

primary
#A532D7
secondary
#A4D78E
accent
#EA3E72
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A532D7

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

Preview Lab → · Contrast checker → · Palette generator →

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