#A531B7#A531B7

#A531B7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.214 H 321.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A531B7
RGBrgb(165, 49, 183)
HSLhsl(292, 58%, 45%)
HSVhsv(292, 73%, 72%)
CMYKcmyk(9.8%, 73.2%, 0%, 28.2%)
CIE-LABlab(43.68, 63.82, -47.28)
CIE-LCHlch(43.68, 79.42, 323.47°)
OKLaboklab(54.25% 0.1688 -0.1322)
OKLCHoklch(54.25% 0.214 321.9)
XYZxyz(25.1617, 13.6163, 46.0934)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A531B7 #43B731
analogous
#6231B7 #A531B7 #B73186
triadic
#A531B7 #B7A531 #31B7A5
tetradic
#A531B7 #B76231 #43B731 #3186B7
square
#A531B7 #B76231 #43B731 #3186B7
split-complementary
#A531B7 #86B731 #31B762
monochromatic
#4E1756 #792487 #A531B7 #C054D1 #D284DE

Accessibility & contrast

On white

5.64
#A531B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A531B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A531B7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A531B7#FFFFFF#000000##FFFFFF
##A531B71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#436CB4
Tritanopia (blue-blind)
#A74A72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a531b7;
/* rgb */ color: rgb(165, 49, 183);
/* oklch */ color: oklch(54.2% 0.214 321.9);
Tailwind
colors: {
  custom: {
    50: '#c475cd',
    500: '#a531b7',
    950: '#000000',
  },
}
SCSS
$custom: #a531b7;
$custom-light: #c475cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a531b7",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 291.94,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.21437,
    "h": 321.9
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#A531B7
secondary
#86C87C
accent
#E1475C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A531B7

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

Preview Lab → · Contrast checker → · Palette generator →

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